shiftpltfrmppg.cpp
来自「此为某测试平台的上位机软件部分」· C++ 代码 · 共 77 行
CPP
77 行
// ShiftPltFrmPpg.cpp : Implementation of the CShiftPltFrmPropPage property page class.
#include "stdafx.h"
#include "ShiftPltFrm.h"
#include "ShiftPltFrmPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CShiftPltFrmPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CShiftPltFrmPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CShiftPltFrmPropPage)
// 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(CShiftPltFrmPropPage, "SHIFTPLTFRM.ShiftPltFrmPropPage.1",
0xe2fc68e0, 0xeb76, 0x420b, 0x89, 0x8b, 0x19, 0x9c, 0x88, 0x55, 0xa5, 0x3a)
/////////////////////////////////////////////////////////////////////////////
// CShiftPltFrmPropPage::CShiftPltFrmPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CShiftPltFrmPropPage
BOOL CShiftPltFrmPropPage::CShiftPltFrmPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_SHIFTPLTFRM_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CShiftPltFrmPropPage::CShiftPltFrmPropPage - Constructor
CShiftPltFrmPropPage::CShiftPltFrmPropPage() :
COlePropertyPage(IDD, IDS_SHIFTPLTFRM_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CShiftPltFrmPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CShiftPltFrmPropPage::DoDataExchange - Moves data between page and properties
void CShiftPltFrmPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CShiftPltFrmPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CShiftPltFrmPropPage message handlers
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?