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

📄 sam_editwindowppg.cpp

📁 制作VC控件教程
💻 CPP
字号:
// Sam_editwindowPpg.cpp : Implementation of the CSam_editwindowPropPage property page class.

#include "stdafx.h"
#include "sam_21.h"
#include "Sam_editwindowPpg.h"

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


IMPLEMENT_DYNCREATE(CSam_editwindowPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CSam_editwindowPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CSam_editwindowPropPage)
	// 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(CSam_editwindowPropPage, "SAM21.SameditwindowPropPage.1",
	0x58c72a52, 0xd633, 0x11d3, 0x9b, 0x30, 0x52, 0x54, 0x4c, 0x39, 0x3a, 0x8c)


/////////////////////////////////////////////////////////////////////////////
// CSam_editwindowPropPage::CSam_editwindowPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CSam_editwindowPropPage

BOOL CSam_editwindowPropPage::CSam_editwindowPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_SAM_EDITWINDOW_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CSam_editwindowPropPage::CSam_editwindowPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CSam_editwindowPropPage message handlers

⌨️ 快捷键说明

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