classicatldicesvrppg.cpp

来自「电子签章的小部分实现」· C++ 代码 · 共 77 行

CPP
77
字号
// ClassicATLdiceSvrPpg.cpp : Implementation of the CClassicATLdiceSvrPropPage property page class.

#include "stdafx.h"
#include "ClassicATLdiceSvr.h"
#include "ClassicATLdiceSvrPpg.h"

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


IMPLEMENT_DYNCREATE(CClassicATLdiceSvrPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CClassicATLdiceSvrPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CClassicATLdiceSvrPropPage)
	// 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(CClassicATLdiceSvrPropPage, "CLASSICATLDICESVR.ClassicATLdiceSvrPropPage.1",
	0xc4302719, 0xa203, 0x426f, 0x97, 0xc1, 0x8d, 0x48, 0x9f, 0x95, 0xa4, 0xf7)


/////////////////////////////////////////////////////////////////////////////
// CClassicATLdiceSvrPropPage::CClassicATLdiceSvrPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CClassicATLdiceSvrPropPage

BOOL CClassicATLdiceSvrPropPage::CClassicATLdiceSvrPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_CLASSICATLDICESVR_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CClassicATLdiceSvrPropPage::CClassicATLdiceSvrPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CClassicATLdiceSvrPropPage message handlers

⌨️ 快捷键说明

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