// $property_page_impl$ : Implementation of the $property_page_class$ property page class. #include "pch.h" #include "framework.h" #include "$projectname$.h" #include "$property_page_header$" #ifdef _DEBUG #define new DEBUG_NEW #endif IMPLEMENT_DYNCREATE($property_page_class$, COlePropertyPage) // Message map BEGIN_MESSAGE_MAP($property_page_class$, COlePropertyPage) END_MESSAGE_MAP() // Initialize class factory and guid [!if PROPERTY_PAGE_TYPE_ID_SET] IMPLEMENT_OLECREATE_EX($property_page_class$, "$property_page_type_id$", $guid_property_page_clsid_olecreate$) [!else] IMPLEMENT_OLECREATE_NOREGNAME($property_page_class$, $guid_property_page_clsid_olecreate$) [!endif] // $property_page_class$::$property_page_class$Factory::UpdateRegistry - // Adds or removes system registry entries for $property_page_class$ BOOL $property_page_class$::$property_page_class$Factory::UpdateRegistry(BOOL bRegister) { if (bRegister) return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), m_clsid, IDS_$safercprojectname$_PPG); else return AfxOleUnregisterClass(m_clsid, nullptr); } // $property_page_class$::$property_page_class$ - Constructor $property_page_class$::$property_page_class$() : COlePropertyPage(IDD, IDS_$safercprojectname$_PPG_CAPTION) { } // $property_page_class$::DoDataExchange - Moves data between page and properties void $property_page_class$::DoDataExchange(CDataExchange* pDX) { DDP_PostProcessing(pDX); } // $property_page_class$ message handlers