?? chameleonppg.cpp
字號:
// ChameleonPpg.cpp : Implementation of the CChameleonPropPage property page class.
#include "stdafx.h"
#include "Chameleon.h"
#include "ChameleonPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CChameleonPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CChameleonPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CChameleonPropPage)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Initialize class factory and guid
IMPLEMENT_OLECREATE_EX(CChameleonPropPage, "CHAMELEON.ChameleonPropPage.1",
0x32bc57d5, 0x71ff, 0x4fe1, 0xaa, 0x31, 0x72, 0xe2, 0xc1, 0xc, 0x1c, 0x19)
/////////////////////////////////////////////////////////////////////////////
// CChameleonPropPage::CChameleonPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CChameleonPropPage
BOOL CChameleonPropPage::CChameleonPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_CHAMELEON_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CChameleonPropPage::CChameleonPropPage - Constructor
CChameleonPropPage::CChameleonPropPage() :
COlePropertyPage(IDD, IDS_CHAMELEON_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CChameleonPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CChameleonPropPage::DoDataExchange - Moves data between page and properties
void CChameleonPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CChameleonPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CChameleonPropPage message handlers
BOOL CChameleonPropPage::OnInitDialog()
{
COlePropertyPage::OnInitDialog();
// TODO: Add extra initialization here
return TRUE; // return TRUE unless you set the focus to a control
// EXCEPTION: OCX Property Pages should return FALSE
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -