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

📄 mweditppg.cpp

📁 国际编码蒙文编辑器
💻 CPP
字号:
// MWEditPpg.cpp : Implementation of the CMWEditPropPage property page class.

#include "stdafx.h"
#include "MWEdit.h"
#include "MWEditPpg.h"

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


IMPLEMENT_DYNCREATE(CMWEditPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CMWEditPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CMWEditPropPage)
	// 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(CMWEditPropPage, "MWEDIT.MWEditPropPage.1",
	0x54717206, 0x4c3b, 0x11d5, 0x8d, 0xc4, 0, 0x80, 0xc8, 0xe1, 0xf3, 0x52)


/////////////////////////////////////////////////////////////////////////////
// CMWEditPropPage::CMWEditPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CMWEditPropPage

BOOL CMWEditPropPage::CMWEditPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_MWEDIT_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CMWEditPropPage::CMWEditPropPage - Constructor

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

	SetHelpInfo(_T("Names to appear in the control"), _T("MWEDIT.HLP"), 0);
}


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

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


/////////////////////////////////////////////////////////////////////////////
// CMWEditPropPage message handlers

⌨️ 快捷键说明

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