ceeditppg.cpp

来自「一个wince下控件」· C++ 代码 · 共 77 行

CPP
77
字号
// CEEditPpg.cpp : Implementation of the CCEEditPropPage property page class.

#include "stdafx.h"
#include "CEEdit.h"
#include "CEEditPpg.h"

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


IMPLEMENT_DYNCREATE(CCEEditPropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CCEEditPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CCEEditPropPage)
	// NOTE - ClassWizard will add and remove message map entries
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()


/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid

IMPLEMENT_OLECREATE_EX(CCEEditPropPage, "CEEDIT.CEEditPropPage.1",
	0xafeb35f6, 0x1e95, 0x451f, 0x8a, 0xf5, 0x3, 0x87, 0x44, 0xc5, 0x7d, 0x22)


/////////////////////////////////////////////////////////////////////////////
// CCEEditPropPage::CCEEditPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CCEEditPropPage

BOOL CCEEditPropPage::CCEEditPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_CEEDIT_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CCEEditPropPage::CCEEditPropPage - Constructor

CCEEditPropPage::CCEEditPropPage() :
	COlePropertyPage(IDD, IDS_CEEDIT_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CCEEditPropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CCEEditPropPage::DoDataExchange - Moves data between page and properties

void CCEEditPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CCEEditPropPage)
	// NOTE: ClassWizard will add DDP, DDX, and DDV calls here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_MAP
	DDP_PostProcessing(pDX);
}


/////////////////////////////////////////////////////////////////////////////
// CCEEditPropPage message handlers

⌨️ 快捷键说明

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