// [!output IMPL_FILE] : implementation file // #include "stdafx.h" [!if PROJECT_NAME_HEADER] #include "[!output PROJECT_NAME].h" [!endif] #include "[!output HEADER_FILE]" [!if !MERGE_FILE] #ifdef _DEBUG #define new DEBUG_NEW #endif [!endif] // [!output CLASS_NAME] dialog IMPLEMENT_DYNCREATE([!output CLASS_NAME], COlePropertyPage) // Message map BEGIN_MESSAGE_MAP([!output CLASS_NAME], COlePropertyPage) END_MESSAGE_MAP() // Initialize class factory and guid // {[!output CLSID_REGISTRY_FORMAT]} IMPLEMENT_OLECREATE_EX([!output CLASS_NAME], "[!output TYPEID]", [!output CLSID_IMPLEMENT_OLECREATE_FORMAT]) // [!output CLASS_NAME]::[!output CLASS_NAME]Factory::UpdateRegistry - // Adds or removes system registry entries for [!output CLASS_NAME] BOOL [!output CLASS_NAME]::[!output CLASS_NAME]Factory::UpdateRegistry(BOOL bRegister) { // TODO: Define string resource for page type; replace '0' below with ID. if (bRegister) return AfxOleRegisterPropertyPageClass(AfxGetInstanceHandle(), m_clsid, 0); else return AfxOleUnregisterClass(m_clsid, NULL); } // [!output CLASS_NAME]::[!output CLASS_NAME] - Constructor // TODO: Define string resource for page caption; replace '0' below with ID. [!output CLASS_NAME]::[!output CLASS_NAME]() : COlePropertyPage(IDD, 0) { [!if ACCESSIBILITY] #ifndef _WIN32_WCE EnableActiveAccessibility(); #endif [!endif] } // [!output CLASS_NAME]::DoDataExchange - Moves data between page and properties void [!output CLASS_NAME]::DoDataExchange(CDataExchange* pDX) { DDP_PostProcessing(pDX); } // [!output CLASS_NAME] message handlers