pagetwo.cpp

来自「MFC扩展编程实例」· C++ 代码 · 共 48 行

CPP
48
字号
// PageTwo.cpp : implementation file
//

#include "stdafx.h"
#include "wzd.h"
#include "PageTwo.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPageTwo property page

IMPLEMENT_DYNCREATE(CPageTwo, CPropertyPage)

CPageTwo::CPageTwo() : CPropertyPage(CPageTwo::IDD)
{
	//{{AFX_DATA_INIT(CPageTwo)
	m_sEdit = _T("");
	//}}AFX_DATA_INIT
}

CPageTwo::~CPageTwo()
{
}

void CPageTwo::DoDataExchange(CDataExchange* pDX)
{
	CPropertyPage::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPageTwo)
	DDX_Text(pDX, IDC_WZD_EDIT, m_sEdit);
	DDV_MaxChars(pDX, m_sEdit, 32);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CPageTwo message handlers

⌨️ 快捷键说明

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