jpgshowctlppg.cpp
来自「当时做多媒体作业」· C++ 代码 · 共 77 行
CPP
77 行
// 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 + =
减小字号Ctrl + -
显示快捷键?