📄 reportppg.cpp
字号:
// ReportPpg.cpp : Implementation of the CReportPropPage property page class.
#include "stdafx.h"
#include "report.h"
#include "ReportPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CReportPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CReportPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CReportPropPage)
// 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(CReportPropPage, "REPORT.ReportPropPage.1",
0x2fdee777, 0x4758, 0x4ae9, 0x80, 0xe6, 0xf6, 0x97, 0x7, 0x79, 0xf9, 0xd9)
/////////////////////////////////////////////////////////////////////////////
// CReportPropPage::CReportPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CReportPropPage
BOOL CReportPropPage::CReportPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_REPORT_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CReportPropPage::CReportPropPage - Constructor
CReportPropPage::CReportPropPage() :
COlePropertyPage(IDD, IDS_REPORT_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CReportPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CReportPropPage::DoDataExchange - Moves data between page and properties
void CReportPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CReportPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CReportPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -