📄 playboxppg.cpp
字号:
// PlayBoxPpg.cpp : Implementation of the CPlayBoxPropPage property page class.
#include "stdafx.h"
#include "PlayBox.h"
#include "PlayBoxPpg.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
IMPLEMENT_DYNCREATE(CPlayBoxPropPage, COlePropertyPage)
/////////////////////////////////////////////////////////////////////////////
// Message map
BEGIN_MESSAGE_MAP(CPlayBoxPropPage, COlePropertyPage)
//{{AFX_MSG_MAP(CPlayBoxPropPage)
// 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(CPlayBoxPropPage, "PLAYBOX.PlayBoxPropPage.1",
0x90e2370b, 0xbe5c, 0x11d4, 0x97, 0x16, 0, 0xe0, 0x4c, 0xdd, 0x45, 0x65)
/////////////////////////////////////////////////////////////////////////////
// CPlayBoxPropPage::CPlayBoxPropPageFactory::UpdateRegistry -
// Adds or removes system registry entries for CPlayBoxPropPage
BOOL CPlayBoxPropPage::CPlayBoxPropPageFactory::UpdateRegistry(BOOL bRegister)
{
if (bRegister)
return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
m_clsid, IDS_PLAYBOX_PPG);
else
return AfxOleUnregisterClass(m_clsid, NULL);
}
/////////////////////////////////////////////////////////////////////////////
// CPlayBoxPropPage::CPlayBoxPropPage - Constructor
CPlayBoxPropPage::CPlayBoxPropPage() :
COlePropertyPage(IDD, IDS_PLAYBOX_PPG_CAPTION)
{
//{{AFX_DATA_INIT(CPlayBoxPropPage)
// NOTE: ClassWizard will add member initialization here
// DO NOT EDIT what you see in these blocks of generated code !
//}}AFX_DATA_INIT
}
/////////////////////////////////////////////////////////////////////////////
// CPlayBoxPropPage::DoDataExchange - Moves data between page and properties
void CPlayBoxPropPage::DoDataExchange(CDataExchange* pDX)
{
//{{AFX_DATA_MAP(CPlayBoxPropPage)
// 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);
}
/////////////////////////////////////////////////////////////////////////////
// CPlayBoxPropPage message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -