📄 wizard.h
字号:
#if !defined(AFX_WIZARD_H__1778A141_2519_11D6_9DF5_70D757C10000__INCLUDED_)
#define AFX_WIZARD_H__1778A141_2519_11D6_9DF5_70D757C10000__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// Wizard.h : header file
//
#include "Step1.h"
#include "Step2.h"
#include "Step3.h"
/////////////////////////////////////////////////////////////////////////////
// CWizard dialog
class CWizard : public CDialog
{
// Construction
public:
void SetWizButton(UINT uFlag);
void ShowPage(UINT nPos);
void AddPage(CDialog* pDialog, UINT nID);
CWizard(CWnd* pParent = NULL); // standard constructor
CRect rectPage; //每页显示的框
UINT nPageCount;//页的总数
UINT nCurrentPage; //显示的当前页
// Dialog Data
//{{AFX_DATA(CWizard)
enum { IDD = IDD_WIZARD };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWizard)
public:
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
typedef struct PAGELINK{
UINT nNum;
CDialog* pDialog;
struct PAGELINK* Next;
};
PAGELINK* pPageLink; //用来链接所有的页
// Generated message map functions
//{{AFX_MSG(CWizard)
afx_msg void OnCancel();
afx_msg void OnPrev();
afx_msg void OnNext();
afx_msg void OnFinish();
virtual BOOL OnInitDialog();
afx_msg void OnDestroy();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WIZARD_H__1778A141_2519_11D6_9DF5_70D757C10000__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -