IPropertyPage2Impl 类
此类实现 IUnknown
并继承了 IPropertyPageImpl 的默认实现。
重要
无法在 Windows 运行时中执行的应用程序中使用此类及其成员。
语法
template<class T>
class IPropertyPage2Impl : public IPropertyPageImpl<T>
参数
T
你的类,派生自 IPropertyPage2Impl
。
成员
公共方法
名称 | 描述 |
---|---|
IPropertyPage2Impl::EditProperty | 指定激活属性页时哪个属性控件将获得焦点。 ATL 实现返回 E_NOTIMPL。 |
备注
IPropertyPage2 接口通过添加 EditProperty
方法扩展了 IPropertyPage。 此方法允许客户端选择属性页对象中的特定属性。
对于IPropertyPage2::EditProperty
,IPropertyPage2Impl
类只是返回 E_NOTIMPL。 但是,它继承了 IPropertyPageImpl 的默认实现,并通过在调试版本中向转储设备发送信息来实现 IUnknown
。
创建属性页时,你的类通常派生自 IPropertyPageImpl
。 要提供对 IPropertyPage2
的额外支持,请修改你的类定义并替代 EditProperty
方法。
继承层次结构
IPropertyPage
IPropertyPage2Impl
要求
标头:atlctl.h
IPropertyPage2Impl::EditProperty
指定激活属性页时哪个属性控件将获得焦点。
HRESULT EditProperty(DISPID dispID);
返回值
返回 E_NOTIMPL。
注解
请参阅 Windows SDK 中的 IPropertyPage2::EditProperty。