hmscanfs531ppg.cpp

来自「一个与控件的测试程序」· C++ 代码 · 共 77 行

CPP
77
字号
// HMScanFS531Ppg.cpp : Implementation of the CHMScanFS531PropPage property page class.

#include "stdafx.h"
#include "HMScanFS531.h"
#include "HMScanFS531Ppg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif


IMPLEMENT_DYNCREATE(CHMScanFS531PropPage, COlePropertyPage)


/////////////////////////////////////////////////////////////////////////////
// Message map

BEGIN_MESSAGE_MAP(CHMScanFS531PropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CHMScanFS531PropPage)
	// 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(CHMScanFS531PropPage, "HMSCANFS531.HMScanFS531PropPage.1",
	0x8da5f2e5, 0xb83, 0x4324, 0x8a, 0x65, 0x20, 0x6e, 0x3c, 0xcf, 0xf2, 0xa3)


/////////////////////////////////////////////////////////////////////////////
// CHMScanFS531PropPage::CHMScanFS531PropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CHMScanFS531PropPage

BOOL CHMScanFS531PropPage::CHMScanFS531PropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_HMSCANFS531_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CHMScanFS531PropPage::CHMScanFS531PropPage - Constructor

CHMScanFS531PropPage::CHMScanFS531PropPage() :
	COlePropertyPage(IDD, IDS_HMSCANFS531_PPG_CAPTION)
{
	//{{AFX_DATA_INIT(CHMScanFS531PropPage)
	// NOTE: ClassWizard will add member initialization here
	//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_DATA_INIT
}


/////////////////////////////////////////////////////////////////////////////
// CHMScanFS531PropPage::DoDataExchange - Moves data between page and properties

void CHMScanFS531PropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CHMScanFS531PropPage)
	// 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);
}


/////////////////////////////////////////////////////////////////////////////
// CHMScanFS531PropPage message handlers

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?