📄 kdcardppg.cpp
字号:
/*********************************************************************
* Designed by xiaohuiyang 2002.03.15 E-mail: yxh2001@21cn.com *
*********************************************************************/
// KDCARDPpg.cpp : Implementation of the CKDCARDPropPage property page class.
#include "stdafx.h"
#include "KDCARD.h"
#include "KDCARDPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CKDCARDPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CKDCARDPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CKDCARDPropPage)
// 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(CKDCARDPropPage, "KDCARD.KDCARDPropPage.1",
0x6be77f80, 0x379e, 0x4fbc, 0x8b, 0xf, 0x4c, 0x2d, 0xb6, 0x97, 0x52, 0xa5)
/////////////////////////////////////////////////////////////////////////////
// CKDCARDPropPage::CKDCARDPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CKDCARDPropPage
BOOL CKDCARDPropPage::CKDCARDPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if(bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_KDCARD_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CKDCARDPropPage::CKDCARDPropPage - Constructor
CKDCARDPropPage::CKDCARDPropPage() :
COlePropertyPage(IDD, IDS_KDCARD_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CKDCARDPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CKDCARDPropPage::DoDataExchange - Moves data between page and properties
void CKDCARDPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CKDCARDPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CKDCARDPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -