?? sevensegnumppg.cpp
字號:
// SevenSegNumPpg.cpp : Implementation of the CSevenSegNumPropPage property page class.
#include "stdafx.h"
#include "SevenSegNum.h"
#include "SevenSegNumPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CSevenSegNumPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CSevenSegNumPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CSevenSegNumPropPage)
// 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(CSevenSegNumPropPage, "SEVENSEGNUM.SevenSegNumPropPage.1",
0x9d3d90fe, 0x14cf, 0x4628, 0xb8, 0x87, 0x65, 0xf2, 0, 0x1a, 0x40, 0xbe)
/////////////////////////////////////////////////////////////////////////////
// CSevenSegNumPropPage::CSevenSegNumPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CSevenSegNumPropPage
BOOL CSevenSegNumPropPage::CSevenSegNumPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_SEVENSEGNUM_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CSevenSegNumPropPage::CSevenSegNumPropPage - Constructor
CSevenSegNumPropPage::CSevenSegNumPropPage() :
COlePropertyPage(IDD, IDS_SEVENSEGNUM_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CSevenSegNumPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CSevenSegNumPropPage::DoDataExchange - Moves data between page and properties
void CSevenSegNumPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CSevenSegNumPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CSevenSegNumPropPage message handlers
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -