// GamePlayerPpg.cpp : Implementation of the CGamePlayerPropPage property page class. #include "stdafx.h" #include "GamePlayer.h" #include "GamePlayerPpg.h" #ifdef _DEBUG #define new DEBUG_NEW #undef THIS_FILE static char THIS_FILE[] = __FILE__; #endif IMPLEMENT_DYNCREATE(CGamePlayerPropPage, COlePropertyPage) ///////////////////////////////////////////////////////////////////////////// // Message map BEGIN_MESSAGE_MAP(CGamePlayerPropPage, COlePropertyPage) //{{AFX_MSG_MAP(CGamePlayerPropPage) // 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(CGamePlayerPropPage, "GAMEPLAYER.GamePlayerPropPage.1", 0x98256c7b, 0x84f0, 0x42b6, 0x95, 0xab, 0x69, 0x7a, 0xd2, 0x1e, 0xdc, 0x82) ///////////////////////////////////////////////////////////////////////////// // CGamePlayerPropPage::CGamePlayerPropPageFactory::UpdateRegistry - // Adds or removes system registry entries for CGamePlayerPropPage BOOL CGamePlayerPropPage::CGamePlayerPropPageFactory::UpdateRegistry(BOOL bRegister) { if (bRegister) return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), m_clsid, IDS_GAMEPLAYER_PPG); else return AfxOleUnregisterClass(m_clsid, NULL); } ///////////////////////////////////////////////////////////////////////////// // CGamePlayerPropPage::CGamePlayerPropPage - Constructor CGamePlayerPropPage::CGamePlayerPropPage() : COlePropertyPage(IDD, IDS_GAMEPLAYER_PPG_CAPTION) { //{{AFX_DATA_INIT(CGamePlayerPropPage) // NOTE: ClassWizard will add member initialization here // DO NOT EDIT what you see in these blocks of generated code ! //}}AFX_DATA_INIT } ///////////////////////////////////////////////////////////////////////////// // CGamePlayerPropPage::DoDataExchange - Moves data between page and properties void CGamePlayerPropPage::DoDataExchange(CDataExchange* pDX) { //{{AFX_DATA_MAP(CGamePlayerPropPage) // 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); } ///////////////////////////////////////////////////////////////////////////// // CGamePlayerPropPage message handlers