📄 shiftcalpltppg.cpp
字号:
// ShiftCalPltPpg.cpp : Implementation of the CShiftCalPltPropPage property page class.
#include "stdafx.h"
#include "ShiftCalPlt.h"
#include "ShiftCalPltPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CShiftCalPltPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CShiftCalPltPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CShiftCalPltPropPage)
// 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(CShiftCalPltPropPage, "SHIFTCALPLT.ShiftCalPltPropPage.1",
0x72df61a6, 0xb528, 0x4aaf, 0xbc, 0x4b, 0x5b, 0xca, 0xea, 0x5f, 0x8e, 0xcb)
/////////////////////////////////////////////////////////////////////////////
// CShiftCalPltPropPage::CShiftCalPltPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CShiftCalPltPropPage
BOOL CShiftCalPltPropPage::CShiftCalPltPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_SHIFTCALPLT_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CShiftCalPltPropPage::CShiftCalPltPropPage - Constructor
CShiftCalPltPropPage::CShiftCalPltPropPage() :
COlePropertyPage(IDD, IDS_SHIFTCALPLT_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CShiftCalPltPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CShiftCalPltPropPage::DoDataExchange - Moves data between page and properties
void CShiftCalPltPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CShiftCalPltPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CShiftCalPltPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -