⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 qrybookdlg.h

📁 自己编写的迷你图书馆的完整程序.VC6MFC编写的,Windows界面.数据采用了Sqlserver2000.压缩包中已包括了数据库.先附加数据库再运行.
💻 H
字号:
//{{AFX_INCLUDES()
#include "datagrid.h"
//}}AFX_INCLUDES
#if !defined(AFX_QRYBOOKDLG_H__0B38661A_1590_410E_9DEC_AA98A7C74EEE__INCLUDED_)
#define AFX_QRYBOOKDLG_H__0B38661A_1590_410E_9DEC_AA98A7C74EEE__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// QryBookDlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CQryBookDlg dialog

class CQryBookDlg : public CDialog
{
// Construction
public:
	CQryBookDlg(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(CQryBookDlg)
	enum { IDD = IDD_DLG_QRY_BOOK };
	CComboBox	m_cmb_prov;
	CComboBox	m_cmb_type;
	CComboBox	m_cmb_subtype;
	int		m_subtype;
	int		m_type;
	CDataGrid	m_dg;
	CString	m_author;
	CString	m_isbn;
	CString	m_name;
	CString	m_pub;
	int		m_prov;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CQryBookDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CQryBookDlg)
	afx_msg void OnBtnQryBasic();
	afx_msg void OnBtnQryProv();
	afx_msg void OnSelchangeCmbType();
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnQryType();
	afx_msg void OnBtnModi();
	afx_msg void OnBtnDel();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	void InitCmb();
	_RecordsetPtr m_pRecordset;
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_QRYBOOKDLG_H__0B38661A_1590_410E_9DEC_AA98A7C74EEE__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -