⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 page3.cpp

📁 讲mfc的书
💻 CPP
字号:
// Page3.cpp : implementation file
//

#include "stdafx.h"
#include "wiz.h"
#include "Page3.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// Page3 property page

IMPLEMENT_DYNCREATE(Page3, CPropertyPage)

Page3::Page3() : CPropertyPage(Page3::IDD)
{
	//{{AFX_DATA_INIT(Page3)
	m_color = _T("");
	//}}AFX_DATA_INIT
}

Page3::~Page3()
{
}

void Page3::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(Page3)
	DDX_Text(pDX, IDC_COLOR, m_color);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(Page3, CPropertyPage)
	//{{AFX_MSG_MAP(Page3)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// Page3 message handlers

BOOL Page3::OnSetActive() 
{
    CPropertySheet *sheet=(CPropertySheet *)GetParent();
	sheet->SetWizardButtons(PSWIZB_FINISH|PSWIZB_BACK);
	return CPropertyPage::OnSetActive();
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -