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

📄 jpgshowctlppg.cpp

📁 当时做多媒体作业
💻 CPP
字号:
// JpgShowCtlPpg.cpp : Implementation of the CJpgShowCtlPropPage property page class.

#include "stdafx.h"
#include "JpgShowCtl.h"
#include "JpgShowCtlPpg.h"

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


IMPLEMENT_DYNCREATE(CJpgShowCtlPropPage, COlePropertyPage)


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

BEGIN_MESSAGE_MAP(CJpgShowCtlPropPage, COlePropertyPage)
	//{{AFX_MSG_MAP(CJpgShowCtlPropPage)
	// 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(CJpgShowCtlPropPage, "JPGSHOWCTL.JpgShowCtlPropPage.1",
	0x3023f58a, 0xd57a, 0x4325, 0xb7, 0xb1, 0x44, 0xfd, 0x8d, 0x37, 0x9, 0xdc)


/////////////////////////////////////////////////////////////////////////////
// CJpgShowCtlPropPage::CJpgShowCtlPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CJpgShowCtlPropPage

BOOL CJpgShowCtlPropPage::CJpgShowCtlPropPageFactory::UpdateRegistry(BOOL bRegister)
{
	if (bRegister)
		return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
			m_clsid, IDS_JPGSHOWCTL_PPG);
	else
		return AfxOleUnregisterClass(m_clsid, NULL);
}


/////////////////////////////////////////////////////////////////////////////
// CJpgShowCtlPropPage::CJpgShowCtlPropPage - Constructor

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


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

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


/////////////////////////////////////////////////////////////////////////////
// CJpgShowCtlPropPage message handlers

⌨️ 快捷键说明

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