📄 cestripchartppg.cpp
字号:
// CEStripChartPpg.cpp : Implementation of the CCEStripChartPropPage property page class.
#include "stdafx.h"
#include "CEStripChart.h"
#include "CEStripChartPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CCEStripChartPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CCEStripChartPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CCEStripChartPropPage)
// 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(CCEStripChartPropPage, "CESTRIPCHART.CEStripChartPropPage.1",
0xaec300be, 0x98f4, 0x48e8, 0x9a, 0xa2, 0xbd, 0xbe, 0xf1, 0xe3, 0x57, 0x4a)
/////////////////////////////////////////////////////////////////////////////
// CCEStripChartPropPage::CCEStripChartPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CCEStripChartPropPage
BOOL CCEStripChartPropPage::CCEStripChartPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_CESTRIPCHART_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CCEStripChartPropPage::CCEStripChartPropPage - Constructor
CCEStripChartPropPage::CCEStripChartPropPage() :
COlePropertyPage(IDD, IDS_CESTRIPCHART_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CCEStripChartPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CCEStripChartPropPage::DoDataExchange - Moves data between page and properties
void CCEStripChartPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CCEStripChartPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CCEStripChartPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -