📄 transformerppg.cpp
字号:
// TransformerPpg.cpp : Implementation of the CTransformerPropPage property page class.
#include "stdafx.h"
#include "transformer.h"
#include "TransformerPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CTransformerPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CTransformerPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CTransformerPropPage)
// 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(CTransformerPropPage, "TRANSFORMER.TransformerPropPage.1",
0xb93e2fb4, 0xe23, 0x408e, 0x8e, 0xd5, 0x10, 0x71, 0xd2, 0xac, 0xc5, 0xdc)
/////////////////////////////////////////////////////////////////////////////
// CTransformerPropPage::CTransformerPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CTransformerPropPage
BOOL CTransformerPropPage::CTransformerPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_TRANSFORMER_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CTransformerPropPage::CTransformerPropPage - Constructor
CTransformerPropPage::CTransformerPropPage() :
COlePropertyPage(IDD, IDS_TRANSFORMER_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CTransformerPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CTransformerPropPage::DoDataExchange - Moves data between page and properties
void CTransformerPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CTransformerPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CTransformerPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -