📄 cnsdftppg.cpp
字号:
// CNSDFTPpg.cpp : Implementation of the CCNSDFTPropPage property page class.
#include "stdafx.h"
#include "CNSDFT.h"
#include "CNSDFTPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CCNSDFTPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CCNSDFTPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CCNSDFTPropPage)
// 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(CCNSDFTPropPage, "CNSDFT.CNSDFTPropPage.1",
0x33594098, 0x39e4, 0x11d5, 0xb9, 0x12, 0, 0, 0xe8, 0x6b, 0xcc, 0x9f)
/////////////////////////////////////////////////////////////////////////////
// CCNSDFTPropPage::CCNSDFTPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CCNSDFTPropPage
BOOL CCNSDFTPropPage::CCNSDFTPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_CNSDFT_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CCNSDFTPropPage::CCNSDFTPropPage - Constructor
CCNSDFTPropPage::CCNSDFTPropPage() :
COlePropertyPage(IDD, IDS_CNSDFT_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CCNSDFTPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CCNSDFTPropPage::DoDataExchange - Moves data between page and properties
void CCNSDFTPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CCNSDFTPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CCNSDFTPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -