📄 webppg.cpp
字号:
// WebPpg.cpp : Implementation of the CWebPropPage property page class.
#include "stdafx.h"
#include "web.h"
#include "WebPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CWebPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CWebPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CWebPropPage)
// 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(CWebPropPage, "WEB.WebPropPage.1",
0x5ea82c58, 0xe86, 0x44ab, 0xab, 0x39, 0xaf, 0x8, 0x27, 0x5b, 0xdd, 0x7e)
/////////////////////////////////////////////////////////////////////////////
// CWebPropPage::CWebPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CWebPropPage
BOOL CWebPropPage::CWebPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_WEB_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CWebPropPage::CWebPropPage - Constructor
CWebPropPage::CWebPropPage() :
COlePropertyPage(IDD, IDS_WEB_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CWebPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CWebPropPage::DoDataExchange - Moves data between page and properties
void CWebPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CWebPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CWebPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -