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

📄 sam_nowindowppg.cpp

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

#include "stdafx.h"
#include "sam_21.h"
#include "Sam_nowindowPpg.h"

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


IMPLEMENT_DYNCREATE(CSam_nowindowPropPage, COlePropertyPage)


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

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


/////////////////////////////////////////////////////////////////////////////
// CSam_nowindowPropPage::CSam_nowindowPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CSam_nowindowPropPage

BOOL CSam_nowindowPropPage::CSam_nowindowPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_SAM_NOWINDOW_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CSam_nowindowPropPage::CSam_nowindowPropPage - Constructor

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


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

void CSam_nowindowPropPage::DoDataExchange(CDataExchange* pDX)
{
	//{{AFX_DATA_MAP(CSam_nowindowPropPage)
	// 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_nowindowPropPage message handlers

⌨️ 快捷键说明

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