GME  13
GMEActiveBrowserPpg.cpp
Go to the documentation of this file.
00001 // GMEActiveBrowserPpg.cpp : Implementation of the CGMEActiveBrowserPropPage property page class.
00002 
00003 #include "stdafx.h"
00004 #include "GMEActiveBrowser.h"
00005 #include "GMEActiveBrowserPpg.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(CGMEActiveBrowserPropPage, COlePropertyPage)
00015 
00016 
00017 
00018 // Message map
00019 
00020 BEGIN_MESSAGE_MAP(CGMEActiveBrowserPropPage, COlePropertyPage)
00021         //{{AFX_MSG_MAP(CGMEActiveBrowserPropPage)
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(CGMEActiveBrowserPropPage, "GME.GMEActiveBrowserPropPage.1",
00032         0x4b4c56da, 0xa2a0, 0x4ae3, 0xbc, 0x4b, 0xb0, 0x71, 0x51, 0xde, 0x73, 0x2c)
00033 
00034 
00036 // CGMEActiveBrowserPropPage::CGMEActiveBrowserPropPageFactory::UpdateRegistry -
00037 // Adds or removes system registry entries for CGMEActiveBrowserPropPage
00038 
00039 BOOL CGMEActiveBrowserPropPage::CGMEActiveBrowserPropPageFactory::UpdateRegistry(BOOL bRegister)
00040 {
00041         if (bRegister)
00042                 return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
00043                         m_clsid, IDS_GMEACTIVEBROWSER_PPG);
00044         else
00045                 return AfxOleUnregisterClass(m_clsid, NULL);
00046 }
00047 
00048 
00050 // CGMEActiveBrowserPropPage::CGMEActiveBrowserPropPage - Constructor
00051 
00052 CGMEActiveBrowserPropPage::CGMEActiveBrowserPropPage() :
00053         COlePropertyPage(IDD, IDS_GMEACTIVEBROWSER_PPG_CAPTION)
00054 {
00055         //{{AFX_DATA_INIT(CGMEActiveBrowserPropPage)
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 // CGMEActiveBrowserPropPage::DoDataExchange - Moves data between page and properties
00064 
00065 void CGMEActiveBrowserPropPage::DoDataExchange(CDataExchange* pDX)
00066 {
00067         //{{AFX_DATA_MAP(CGMEActiveBrowserPropPage)
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 // CGMEActiveBrowserPropPage message handlers