IPropertyPageImpl选件类

此选件类实现 IUnknown 并提供 IPropertyPage 接口的默认实现。

重要

此选件类及其成员不能在 Windows 运行时执行的应用程序。

template< class T>
class IPropertyPageImpl

参数

  • T
    您的选件类,从派生 IPropertyPageImpl

成员

bwyf6xfe.collapse_all(zh-cn,VS.110).gif公共构造函数

名称

说明

IPropertyPageImpl::IPropertyPageImpl

构造函数。

bwyf6xfe.collapse_all(zh-cn,VS.110).gif公共方法

名称

说明

IPropertyPageImpl::Activate

创建属性页的对话框窗口。

IPropertyPageImpl::Apply

将当前页属性值应用于通过 SetObjects指定的基础对象。 ATL实现返回 S_OK。

IPropertyPageImpl::Deactivate

销毁用 Activate创建的窗口。

IPropertyPageImpl::GetPageInfo

检索有关属性页的信息。

IPropertyPageImpl::Help

调用属性页的Windows帮助。

IPropertyPageImpl::IsPageDirty

指示属性页是否已更改,则激活为。

IPropertyPageImpl::Move

位置和大小调整属性页"对话框。

IPropertyPageImpl::SetDirty

标记未更改的属性页的状态为已更改或。

IPropertyPageImpl::SetObjects

为对象提供一组 IUnknown 指针与属性页。 这些对象是通过调用接收当前页属性值设置为 Apply

IPropertyPageImpl::SetPageSite

提供属性页。IPropertyPageSite 指针,属性页与属性框架通信。

IPropertyPageImpl::Show

使属性页"对话框显示或不可见。

IPropertyPageImpl::TranslateAccelerator

处理一个指定的键击。

bwyf6xfe.collapse_all(zh-cn,VS.110).gif公共数据成员

名称

说明

IPropertyPageImpl::m_bDirty

指定属性页的状态是否已更改。

IPropertyPageImpl::m_dwDocString

存储资源标识符与描述属性页上的文本字符串。

IPropertyPageImpl::m_dwHelpContext

存储帮助主题的上下文标识符与属性页。

IPropertyPageImpl::m_dwHelpFile

存储资源标识符与描述属性页的帮助文件的名称。

IPropertyPageImpl::m_dwTitle

存储资源标识符与显示在属性页的选项卡上的文本字符串。

IPropertyPageImpl::m_nObjects

存储对象的数量与属性页。

IPropertyPageImpl::m_pPageSite

指向 IPropertyPageSite 属性页与属性框架通信的接口。

IPropertyPageImpl::m_ppUnk

指向数组 IUnknown 指向对象与属性页。

IPropertyPageImpl::m_size

在像素存储属性页"对话框的高度和宽度。

备注

IPropertyPage 接口允许对象管理在属性表中的特定属性页。 选件类 IPropertyPageImpl 提供此接口的默认实现并将信息发送实现 IUnknown 到转储计算机进行编译。

相关文章   ATL教程创建ATL项目

继承层次结构

IPropertyPage

IPropertyPageImpl

要求

Header: atlctl.h

请参见

参考

IPropertyPage2Impl选件类

、选件类

ISpecifyPropertyPagesImpl选件类

其他资源

ATL选件类概述