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

📄 mfccontrolnowinppg.cpp

📁 主要介绍vc++6.0的编程过程
💻 CPP
字号:
// MFCControlNoWinPpg.cpp : Implementation of the CMFCControlNoWinPropPage property page class.

#include "stdafx.h"
#include "MFCControl.h"
#include "MFCControlNoWinPpg.h"

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


IMPLEMENT_DYNCREATE(CMFCControlNoWinPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CMFCControlNoWinPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CMFCControlNoWinPropPage)
	// 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(CMFCControlNoWinPropPage, "MFCCONTROL.MFCControlNoWinPropPage.1",
	0x2bda30cb, 0xf5f4, 0x11d1, 0xaf, 0x64, 0, 0xc0, 0x6d, 0x17, 0xa5, 0x80)


/////////////////////////////////////////////////////////////////////////////
// CMFCControlNoWinPropPage::CMFCControlNoWinPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CMFCControlNoWinPropPage

BOOL CMFCControlNoWinPropPage::CMFCControlNoWinPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_MFCCONTROLNOWIN_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CMFCControlNoWinPropPage::CMFCControlNoWinPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CMFCControlNoWinPropPage message handlers

⌨️ 快捷键说明

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