📄 isaioppg.cpp
字号:
// ISAIOPpg.cpp : Implementation of the CISAIOPropPage property page class.
#include "stdafx.h"
#include "ISAIO.h"
#include "ISAIOPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CISAIOPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CISAIOPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CISAIOPropPage)
// 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(CISAIOPropPage, "ISAIO.ISAIOPropPage.1",
0x524ed727, 0xa5e6, 0x11d9, 0xa0, 0xd8, 0xc4, 0x1d, 0x16, 0x9c, 0xc, 0x54)
/////////////////////////////////////////////////////////////////////////////
// CISAIOPropPage::CISAIOPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CISAIOPropPage
BOOL CISAIOPropPage::CISAIOPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_ISAIO_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CISAIOPropPage::CISAIOPropPage - Constructor
CISAIOPropPage::CISAIOPropPage() :
COlePropertyPage(IDD, IDS_ISAIO_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CISAIOPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CISAIOPropPage::DoDataExchange - Moves data between page and properties
void CISAIOPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CISAIOPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CISAIOPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -