📄 wizardpage.h
字号:
#ifndef _WIZARDPAGE_H__
#define _WIZARDPAGE_H__
class CWizardDlg;
// CWizardPage 对话框
class CWizardPage : public CDialog
{
friend class CSL330CIMDsnManagerDlg;
DECLARE_DYNAMIC(CWizardPage)
public:
CWizardPage(LPCTSTR lpszTemplateName, CWnd* pParent = NULL);
CWizardPage(UINT nIDTemplate, CWnd* pParent = NULL);
virtual ~CWizardPage();
public:
CFont m_LargeFont; //字体
protected:
CBrush m_Brush; //白色背景刷
public:
CWizardDlg *m_pParent; //父窗口
BOOL m_bCreated; //对话框是否创建标志
BOOL m_bActive; //该Page是否处于激活状态
UINT m_nDialogID; //该Page的对话框ID
public:
virtual BOOL OnCreatePage();
virtual void OnDestroyPage();
virtual void OnCancel();
virtual BOOL OnKillingActive();
virtual void OnSettingActive();
virtual void OnSettedActive();
virtual BOOL OnQueryCancel();
virtual LRESULT OnWizardBack();
virtual LRESULT OnWizardNext();
virtual BOOL OnWizardFinish();
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//{{AFX_MSG(CNewWizPage)
virtual BOOL OnInitDialog();
afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#endif //_WIZARDPAGE_H__
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -