📄 indentitytestppg.cpp
字号:
// IndentityTestPpg.cpp : Implementation of the CIndentityTestPropPage property page class.
#include "stdafx.h"
#include "IndentityTest.h"
#include "IndentityTestPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CIndentityTestPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CIndentityTestPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CIndentityTestPropPage)
// 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(CIndentityTestPropPage, "INDENTITYTEST.IndentityTestPropPage.1",
0xebe106cb, 0x41d6, 0x4084, 0x9b, 0xf8, 0xba, 0x23, 0x40, 0xcf, 0x38, 0x86)
/////////////////////////////////////////////////////////////////////////////
// CIndentityTestPropPage::CIndentityTestPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CIndentityTestPropPage
BOOL CIndentityTestPropPage::CIndentityTestPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_INDENTITYTEST_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CIndentityTestPropPage::CIndentityTestPropPage - Constructor
CIndentityTestPropPage::CIndentityTestPropPage() :
COlePropertyPage(IDD, IDS_INDENTITYTEST_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CIndentityTestPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CIndentityTestPropPage::DoDataExchange - Moves data between page and properties
void CIndentityTestPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CIndentityTestPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CIndentityTestPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -