📄 tvichw32ppg.cpp
字号:
// TVicHW32Ppg.cpp : Implementation of the CTVicHW32PropPage property page class.
#include "stdafx.h"
#include "TVicHW32.h"
#include "TVicHW32Ppg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CTVicHW32PropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CTVicHW32PropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CTVicHW32PropPage)
// 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(CTVicHW32PropPage, "TVICHW32.TVicHW32PropPage.1",
0xeac1566, 0x1feb, 0x11d2, 0xb0, 0x35, 0, 0xa0, 0xc9, 0x18, 0x4f, 0xf9)
/////////////////////////////////////////////////////////////////////////////
// CTVicHW32PropPage::CTVicHW32PropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CTVicHW32PropPage
BOOL CTVicHW32PropPage::CTVicHW32PropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_TVICHW32_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CTVicHW32PropPage::CTVicHW32PropPage - Constructor
CTVicHW32PropPage::CTVicHW32PropPage() :
COlePropertyPage(IDD, IDS_TVICHW32_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CTVicHW32PropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CTVicHW32PropPage::DoDataExchange - Moves data between page and properties
void CTVicHW32PropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CTVicHW32PropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CTVicHW32PropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -