📄 listpage.h
字号:
#if !defined(AFX_LISTPAGE_H__2F395F42_8F71_4802_B8D5_1693966BA132__INCLUDED_)
#define AFX_LISTPAGE_H__2F395F42_8F71_4802_B8D5_1693966BA132__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ListPage.h : header file
//
#include "MyRecordset.h"
/////////////////////////////////////////////////////////////////////////////
// ListPage dialog
class ListPage : public CPropertyPage
{
DECLARE_DYNCREATE(ListPage)
// Construction
public:
void AddDataIntoCtrl();
ListPage();
~ListPage();
// Dialog Data
//{{AFX_DATA(ListPage)
enum { IDD = IDD_LIST };
CListCtrl m_list;
//}}AFX_DATA
CRecordset* m_pSet;
CDatabase* m_database;
// Overrides
// ClassWizard generate virtual function overrides
//{{AFX_VIRTUAL(ListPage)
public:
virtual BOOL OnSetActive();
virtual BOOL DestroyWindow();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(ListPage)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
afx_msg void OnDblclkList(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CBrush m_brush;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LISTPAGE_H__2F395F42_8F71_4802_B8D5_1693966BA132__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -