📄 testdlg.h
字号:
// TestDlg.h : header file
//
#include <atldbcli.h>
class CProvider
{
// Attributes
public:
CBookmark<4> bookmark;
char szCommand[256];
char szText[256];
// Binding Maps
BEGIN_COLUMN_MAP(CProvider)
BOOKMARK_ENTRY(bookmark) // Add this line
COLUMN_ENTRY(1, szCommand)
COLUMN_ENTRY(2, szText)
END_COLUMN_MAP()
};
#if !defined(AFX_TESTDLG_H__296CCAD7_C062_11D3_8610_B90DF7BB0D38__INCLUDED_)
#define AFX_TESTDLG_H__296CCAD7_C062_11D3_8610_B90DF7BB0D38__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CTestDlgAutoProxy;
/////////////////////////////////////////////////////////////////////////////
// CTestDlg dialog
class CTestDlg : public CDialog
{
DECLARE_DYNAMIC(CTestDlg);
friend class CTestDlgAutoProxy;
// Construction
public:
CTestDlg(CWnd* pParent = NULL); // standard constructor
virtual ~CTestDlg();
// Dialog Data
//{{AFX_DATA(CTestDlg)
enum { IDD = IDD_TEST_DIALOG };
CListBox m_list_command;
CListBox m_list_text;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTestDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CTestDlgAutoProxy* m_pAutoProxy;
HICON m_hIcon;
BOOL CanExit();
// Generated message map functions
//{{AFX_MSG(CTestDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnClose();
virtual void OnOK();
virtual void OnCancel();
afx_msg void OnRun();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TESTDLG_H__296CCAD7_C062_11D3_8610_B90DF7BB0D38__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -