GME  13
PanningViewPropPage.cpp
Go to the documentation of this file.
00001 // PanningViewPropPage.cpp : Implementation of the CPanningViewPropPage property page class.
00002 
00003 #include "stdafx.h"
00004 #include "PanningView.h"
00005 #include "PanningViewPropPage.h"
00006 
00007 #ifdef _DEBUG
00008 #define new DEBUG_NEW
00009 #endif
00010 
00011 
00012 IMPLEMENT_DYNCREATE(CPanningViewPropPage, COlePropertyPage)
00013 
00014 
00015 
00016 // Message map
00017 
00018 BEGIN_MESSAGE_MAP(CPanningViewPropPage, COlePropertyPage)
00019 END_MESSAGE_MAP()
00020 
00021 
00022 
00023 // Initialize class factory and guid
00024 
00025 IMPLEMENT_OLECREATE_EX(CPanningViewPropPage, "PANNINGVIEW.PanningViewPropPage.1",
00026         0x458d3476, 0xb3ff, 0x4545, 0x96, 0x45, 0xc2, 0x47, 0xa7, 0xc1, 0x7e, 0x36)
00027 
00028 
00029 
00030 // CPanningViewPropPage::CPanningViewPropPageFactory::UpdateRegistry -
00031 // Adds or removes system registry entries for CPanningViewPropPage
00032 
00033 BOOL CPanningViewPropPage::CPanningViewPropPageFactory::UpdateRegistry(BOOL bRegister)
00034 {
00035         if (bRegister)
00036                 return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(),
00037                         m_clsid, IDS_PANNINGVIEW_PPG);
00038         else
00039                 return AfxOleUnregisterClass(m_clsid, NULL);
00040 }
00041 
00042 
00043 
00044 // CPanningViewPropPage::CPanningViewPropPage - Constructor
00045 
00046 CPanningViewPropPage::CPanningViewPropPage() :
00047         COlePropertyPage(IDD, IDS_PANNINGVIEW_PPG_CAPTION)
00048 {
00049 }
00050 
00051 
00052 
00053 // CPanningViewPropPage::DoDataExchange - Moves data between page and properties
00054 
00055 void CPanningViewPropPage::DoDataExchange(CDataExchange* pDX)
00056 {
00057         DDP_PostProcessing(pDX);
00058 }
00059 
00060 
00061 
00062 // CPanningViewPropPage message handlers