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