📄 superdigitalclockppg.cpp
字号:
// SuperDigitalClockPpg.cpp : Implementation of the CSuperDigitalClockPropPage property page class.
#include "stdafx.h"
#include "SuperDigitalClock.h"
#include "SuperDigitalClockPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CSuperDigitalClockPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CSuperDigitalClockPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CSuperDigitalClockPropPage)
// 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(CSuperDigitalClockPropPage, "SUPERDIGITALCLOCK.SuperDigitalClockPropPage.1",
0x3c77e5aa, 0x22ed, 0x446f, 0x87, 0xc7, 0xa6, 0x2c, 0x7e, 0x4c, 0x33, 0x7e)
/////////////////////////////////////////////////////////////////////////////
// CSuperDigitalClockPropPage::CSuperDigitalClockPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CSuperDigitalClockPropPage
BOOL CSuperDigitalClockPropPage::CSuperDigitalClockPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_SUPERDIGITALCLOCK_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CSuperDigitalClockPropPage::CSuperDigitalClockPropPage - Constructor
CSuperDigitalClockPropPage::CSuperDigitalClockPropPage() :
COlePropertyPage(IDD, IDS_SUPERDIGITALCLOCK_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CSuperDigitalClockPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CSuperDigitalClockPropPage::DoDataExchange - Moves data between page and properties
void CSuperDigitalClockPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CSuperDigitalClockPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CSuperDigitalClockPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -