wizardpage.h

来自「数据库部署程序」· C头文件 代码 · 共 46 行

H
46
字号
#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 + =
减小字号Ctrl + -
显示快捷键?