GME
13
|
00001 // GMEViewPropPage.cpp : Implementation of the CGMEViewPropPage property page class. 00002 00003 #include "stdafx.h" 00004 #include "GMEView.h" 00005 #include "GMEViewPropPage.h" 00006 00007 #ifdef _DEBUG 00008 #define new DEBUG_NEW 00009 #endif 00010 00011 00012 IMPLEMENT_DYNCREATE(CGMEViewPropPage, COlePropertyPage) 00013 00014 00015 00016 // Message map 00017 00018 BEGIN_MESSAGE_MAP(CGMEViewPropPage, COlePropertyPage) 00019 END_MESSAGE_MAP() 00020 00021 00022 00023 // Initialize class factory and guid 00024 00025 IMPLEMENT_OLECREATE_EX(CGMEViewPropPage, "GMEVIEW.GMEViewPropPage.1", 00026 0x72b7b135, 0x99f3, 0x41e9, 0x8f, 0x3c, 0xe6, 0x5f, 0xd6, 0x15, 0xd0, 0x20) 00027 00028 00029 00030 // CGMEViewPropPage::CGMEViewPropPageFactory::UpdateRegistry - 00031 // Adds or removes system registry entries for CGMEViewPropPage 00032 00033 BOOL CGMEViewPropPage::CGMEViewPropPageFactory::UpdateRegistry(BOOL bRegister) 00034 { 00035 if (bRegister) 00036 return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), 00037 m_clsid, IDS_GMEVIEW_PPG); 00038 else 00039 return AfxOleUnregisterClass(m_clsid, NULL); 00040 } 00041 00042 00043 00044 // CGMEViewPropPage::CGMEViewPropPage - Constructor 00045 00046 CGMEViewPropPage::CGMEViewPropPage() : 00047 COlePropertyPage(IDD, IDS_GMEVIEW_PPG_CAPTION) 00048 { 00049 } 00050 00051 00052 00053 // CGMEViewPropPage::DoDataExchange - Moves data between page and properties 00054 00055 void CGMEViewPropPage::DoDataExchange(CDataExchange* pDX) 00056 { 00057 DDP_PostProcessing(pDX); 00058 } 00059 00060 00061 00062 // CGMEViewPropPage message handlers