GME
13
|
00001 // ConsolePpg.cpp : Implementation of the CConsolePropPage property page class. 00002 00003 #include "stdafx.h" 00004 #include "Console.h" 00005 #include "ConsolePpg.h" 00006 00007 #ifdef _DEBUG 00008 #define new DEBUG_NEW 00009 #undef THIS_FILE 00010 static char THIS_FILE[] = __FILE__; 00011 #endif 00012 00013 00014 IMPLEMENT_DYNCREATE(CConsolePropPage, COlePropertyPage) 00015 00016 00017 00018 // Message map 00019 00020 BEGIN_MESSAGE_MAP(CConsolePropPage, COlePropertyPage) 00021 //{{AFX_MSG_MAP(CConsolePropPage) 00022 // NOTE - ClassWizard will add and remove message map entries 00023 // DO NOT EDIT what you see in these blocks of generated code ! 00024 //}}AFX_MSG_MAP 00025 END_MESSAGE_MAP() 00026 00027 00029 // Initialize class factory and guid 00030 00031 IMPLEMENT_OLECREATE_EX(CConsolePropPage, "GME.ConsolePropPage.1", 00032 0xa9b2b82a, 0xb753, 0x4fb0, 0x8f, 0xb, 0x36, 0x61, 0xbc, 0x30, 0x70, 0x53) 00033 00034 00036 // CConsolePropPage::CConsolePropPageFactory::UpdateRegistry - 00037 // Adds or removes system registry entries for CConsolePropPage 00038 00039 BOOL CConsolePropPage::CConsolePropPageFactory::UpdateRegistry(BOOL bRegister) 00040 { 00041 if (bRegister) 00042 return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), 00043 m_clsid, IDS_CONSOLE_PPG); 00044 else 00045 return AfxOleUnregisterClass(m_clsid, NULL); 00046 } 00047 00048 00050 // CConsolePropPage::CConsolePropPage - Constructor 00051 00052 CConsolePropPage::CConsolePropPage() : 00053 COlePropertyPage(IDD, IDS_CONSOLE_PPG_CAPTION) 00054 { 00055 //{{AFX_DATA_INIT(CConsolePropPage) 00056 // NOTE: ClassWizard will add member initialization here 00057 // DO NOT EDIT what you see in these blocks of generated code ! 00058 //}}AFX_DATA_INIT 00059 } 00060 00061 00063 // CConsolePropPage::DoDataExchange - Moves data between page and properties 00064 00065 void CConsolePropPage::DoDataExchange(CDataExchange* pDX) 00066 { 00067 //{{AFX_DATA_MAP(CConsolePropPage) 00068 // NOTE: ClassWizard will add DDP, DDX, and DDV calls here 00069 // DO NOT EDIT what you see in these blocks of generated code ! 00070 //}}AFX_DATA_MAP 00071 DDP_PostProcessing(pDX); 00072 } 00073 00074 00076 // CConsolePropPage message handlers