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

📄 demo5dlg.h

📁 Viaual C++实战演练一书的源代码,对于C++程序员有实际的借鉴意义.
💻 H
字号:
// Demo5Dlg.h : header file
//

#if !defined(AFX_DEMO5DLG_H__8D61EB87_501F_11D4_A154_FBD6C719C370__INCLUDED_)
#define AFX_DEMO5DLG_H__8D61EB87_501F_11D4_A154_FBD6C719C370__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CDemo5Dlg dialog

#include "GridCtrl.h"

class CDemo5Dlg : public CDialog
{
public:
	_ConnectionPtr     m_piConnection;
	_RecordsetPtr      m_piRecordset;
	CGridCtrl          m_Grid;
	bool               m_bEditable;
	long               m_nModified;
	long               m_nSelectedRow;
	UINT*              m_pFieldsType;
	long               m_nFieldCount;

// Construction
public:
	CDemo5Dlg(CWnd* pParent = NULL);	// standard constructor
	void SetButtonCtrl();
	//void ConvertType(COleVariant& des, CString src, UINT type);

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

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CDemo5Dlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnDestroy();
	afx_msg void OnTable();
	afx_msg void OnUsrtable();
	afx_msg void OnSelect();
	afx_msg void OnAdd();
	afx_msg void OnDelete();
	afx_msg void OnModify();
	//}}AFX_MSG
	afx_msg void OnSelChanged(NMHDR* pNMHDR, LRESULT* pResult);
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_DEMO5DLG_H__8D61EB87_501F_11D4_A154_FBD6C719C370__INCLUDED_)

⌨️ 快捷键说明

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