qrybookdlg.h

来自「自己编写的迷你图书馆的完整程序.VC6MFC编写的,Windows界面.数据采用」· C头文件 代码 · 共 69 行

H
69
字号
//{{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 + =
减小字号Ctrl + -
显示快捷键?