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