📄 exeshellppg.cpp
字号:
// EXEshellPpg.cpp : Implementation of the CEXEshellPropPage property page class.
#include "stdafx.h"
#include "EXEshell.h"
#include "EXEshellPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CEXEshellPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CEXEshellPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CEXEshellPropPage)
// 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(CEXEshellPropPage, "EXESHELL.EXEshellPropPage.1",
0xee146983, 0x5abe, 0x4449, 0xbe, 0x88, 0xa3, 0xd3, 0x64, 0xd1, 0xfe, 0x3c)
/////////////////////////////////////////////////////////////////////////////
// CEXEshellPropPage::CEXEshellPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CEXEshellPropPage
BOOL CEXEshellPropPage::CEXEshellPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_EXESHELL_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CEXEshellPropPage::CEXEshellPropPage - Constructor
CEXEshellPropPage::CEXEshellPropPage() :
COlePropertyPage(IDD, IDS_EXESHELL_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CEXEshellPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CEXEshellPropPage::DoDataExchange - Moves data between page and properties
void CEXEshellPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CEXEshellPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CEXEshellPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -