GME  13
ObjectInspectorPpg.cpp
Go to the documentation of this file.
00001 // ObjectInspectorPpg.cpp : Implementation of the CObjectInspectorPropPage property page class.
00002 
00003 #include "stdafx.h"
00004 #include "ObjectInspector.h"
00005 #include "ObjectInspectorPpg.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(CObjectInspectorPropPage, COlePropertyPage)
00015 
00016 
00017 
00018 // Message map
00019 
00020 BEGIN_MESSAGE_MAP(CObjectInspectorPropPage, COlePropertyPage)
00021         //{{AFX_MSG_MAP(CObjectInspectorPropPage)
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(CObjectInspectorPropPage, "GME.ObjectInspectorPropPage.1",
00032         0xb4b5a75, 0xbf21, 0x4c8b, 0xa7, 0x5, 0xe2, 0x66, 0x6e, 0x1d, 0x9b, 0x15)
00033 
00034 
00036 // CObjectInspectorPropPage::CObjectInspectorPropPageFactory::UpdateRegistry -
00037 // Adds or removes system registry entries for CObjectInspectorPropPage
00038 
00039 BOOL CObjectInspectorPropPage::CObjectInspectorPropPageFactory::UpdateRegistry(BOOL bRegister)
00040 {
00041         if (bRegister)
00042                 return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
00043                         m_clsid, IDS_OBJECTINSPECTOR_PPG);
00044         else
00045                 return AfxOleUnregisterClass(m_clsid, NULL);
00046 }
00047 
00048 
00050 // CObjectInspectorPropPage::CObjectInspectorPropPage - Constructor
00051 
00052 CObjectInspectorPropPage::CObjectInspectorPropPage() :
00053         COlePropertyPage(IDD, IDS_OBJECTINSPECTOR_PPG_CAPTION)
00054 {
00055         //{{AFX_DATA_INIT(CObjectInspectorPropPage)
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 // CObjectInspectorPropPage::DoDataExchange - Moves data between page and properties
00064 
00065 void CObjectInspectorPropPage::DoDataExchange(CDataExchange* pDX)
00066 {
00067         //{{AFX_DATA_MAP(CObjectInspectorPropPage)
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 // CObjectInspectorPropPage message handlers