dbdemodlg.h

来自「VC++与ACCESS数据库操作例程。创建数据库」· C头文件 代码 · 共 61 行

H
61
字号
// DBDemoDlg.h : header file
//

#if !defined(AFX_DBDEMODLG_H__DC9856A0_79F5_48DF_B0B5_DF933C204677__INCLUDED_)
#define AFX_DBDEMODLG_H__DC9856A0_79F5_48DF_B0B5_DF933C204677__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CDBDemoDlg dialog

class CDBDemoDlg : public CDialog
{
// Construction
public:
	CDBDemoDlg(CWnd* pParent = NULL);	// standard constructor
	_ConnectionPtr	m_pConnection;
	_CommandPtr		m_pCommand;
	_RecordsetPtr	m_pRecordset;
	CListCtrl m_ListCtrl;

// Dialog Data
	//{{AFX_DATA(CDBDemoDlg)
	enum { IDD = IDD_DBDEMO_DIALOG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDBDemoDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnButtonDbConnect();
	afx_msg void OnButton3();
	virtual void OnCancel();
	afx_msg void OnButtonDbClose();
	afx_msg void OnQuery();
	afx_msg void OnButtonInsert();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DBDEMODLG_H__DC9856A0_79F5_48DF_B0B5_DF933C204677__INCLUDED_)

⌨️ 快捷键说明

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