📄 multiboardppg.cpp
字号:
// MultiBoardPpg.cpp : Implementation of the CMultiBoardPropPage property page class.
#include "stdafx.h"
#include "MultiBoard.h"
#include "MultiBoardPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CMultiBoardPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CMultiBoardPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CMultiBoardPropPage)
// 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(CMultiBoardPropPage, "MULTIBOARD.MultiBoardPropPage.1",
0x36b76481, 0xd3ca, 0x4126, 0x96, 0x52, 0xf4, 0xac, 0x78, 0xa8, 0x19, 0x85)
/////////////////////////////////////////////////////////////////////////////
// CMultiBoardPropPage::CMultiBoardPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CMultiBoardPropPage
BOOL CMultiBoardPropPage::CMultiBoardPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_MULTIBOARD_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CMultiBoardPropPage::CMultiBoardPropPage - Constructor
CMultiBoardPropPage::CMultiBoardPropPage() :
COlePropertyPage(IDD, IDS_MULTIBOARD_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CMultiBoardPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CMultiBoardPropPage::DoDataExchange - Moves data between page and properties
void CMultiBoardPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CMultiBoardPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CMultiBoardPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -