📄 page1.cpp
字号:
// Page1.cpp : implementation file
//
#include "stdafx.h"
#include "wiz.h"
#include "Page1.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Page1 property page
IMPLEMENT_DYNCREATE(Page1, CPropertyPage)
Page1::Page1() : CPropertyPage(Page1::IDD)
{
//{{AFX_DATA_INIT(Page1)
m_name = _T("");
//}}AFX_DATA_INIT
}
Page1::~Page1()
{
}
void Page1::DoDataExchange(CDataExchange* pDX)
{
CPropertyPage::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Page1)
DDX_Text(pDX, IDC_NAME, m_name);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Page1, CPropertyPage)
//{{AFX_MSG_MAP(Page1)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Page1 message handlers
BOOL Page1::OnSetActive()
{
CPropertySheet *sheet=(CPropertySheet *)GetParent();
sheet->SetWizardButtons(PSWIZB_NEXT);
return CPropertyPage::OnSetActive();
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -