⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 activeceppg.cpp

📁 Visual C++ 6.0 种MFC 开发的ActiveX控件
💻 CPP
字号:
// ActivecePpg.cpp : Implementation of the CActivecePropPage property page class.

#include "stdafx.h"
#include "Activece.h"
#include "ActivecePpg.h"

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


IMPLEMENT_DYNCREATE(CActivecePropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CActivecePropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CActivecePropPage)
	// 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(CActivecePropPage, "ACTIVECE.ActivecePropPage.1",
	0xe73fa073, 0xbcbd, 0x4355, 0x9d, 0x7f, 0xbf, 0xef, 0xba, 0xc1, 0x42, 0xb5)


/////////////////////////////////////////////////////////////////////////////
// CActivecePropPage::CActivecePropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CActivecePropPage

BOOL CActivecePropPage::CActivecePropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_ACTIVECE_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CActivecePropPage::CActivecePropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CActivecePropPage message handlers

⌨️ 快捷键说明

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