adodlg.h

来自「MFC程序开发参考大全 【明日科技】宋坤 刘锐宁 李伟明 【丛 书 名】」· C头文件 代码 · 共 64 行

H
64
字号
// ADODlg.h : header file
//

#if !defined(AFX_ADODLG_H__5D3D0AF5_42EC_4AF7_AE3B_E17AE7158F5D__INCLUDED_)
#define AFX_ADODLG_H__5D3D0AF5_42EC_4AF7_AE3B_E17AE7158F5D__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CADODlg dialog

class CADODlg : public CDialog
{
// Construction
public:
	void AddToGrid();
	void ExitConnect();
	void OnInitADOConn();
	CADODlg(CWnd* pParent = NULL);	// standard constructor
	_ConnectionPtr m_pConnection;
	_RecordsetPtr m_pRecordset;
	int pos;
// Dialog Data
	//{{AFX_DATA(CADODlg)
	enum { IDD = IDD_ADO_DIALOG };
	CListCtrl	m_Grid;
	CString	m_ID;
	CString	m_Name;
	CString	m_Sex;
	CString	m_Culture;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CADODlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnButadd();
	afx_msg void OnClickList1(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnButmod();
	afx_msg void OnButdel();
	afx_msg void OnButcle();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_ADODLG_H__5D3D0AF5_42EC_4AF7_AE3B_E17AE7158F5D__INCLUDED_)

⌨️ 快捷键说明

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