#pragma once #ifdef _WIN32_WCE #error "Windows CE 不支持 COlePropertyPage。" #endif // $class_name$: 属性页对话框 class $class_name$ : public COlePropertyPage { DECLARE_DYNCREATE($class_name$) DECLARE_OLECREATE_EX($class_name$) // 构造函数 public: $class_name$(); // 对话框数据 #ifdef AFX_DESIGN_TIME enum { IDD = $idd_dialog$ }; #endif // 实现 protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持 // 消息映射 protected: DECLARE_MESSAGE_MAP() };