共用方式為


IPropertyPage2Impl 類別

這個類別會實作IUnknown並繼承 IPropertyPageImpl 的預設實作

重要

這個類別及其成員不能用於在 Windows 執行階段 中執行的應用程式。

語法

template<class T>
class IPropertyPage2Impl : public IPropertyPageImpl<T>

參數

T
您的類別衍生自 IPropertyPage2Impl

成員

公用方法

名稱 描述
IPropertyPage2Impl::EditProperty 指定啟用屬性頁時,哪些屬性控件會收到焦點。 ATL 實作會傳回E_NOTIMPL。

備註

IPropertyPage2 介面會藉由新增 EditProperty 方法來擴充 IPropertyPage。 這個方法可讓客戶端在屬性頁對象中選取特定屬性。

類別 IPropertyPage2Impl 只會針對 傳回 E_NOTIMPL IPropertyPage2::EditProperty。 不過,它會繼承 IPropertyPageImpl 的預設實作,並在偵錯組建中將資訊傳送至傾印裝置來實IUnknown作。

當您建立屬性頁時,類別通常衍生自 IPropertyPageImpl。 若要提供的額外支援 IPropertyPage2,請修改您的類別定義並覆寫 EditProperty 方法。

相關文章 ATL 教學課程建立 ATL 專案

繼承階層架構

IPropertyPage

IPropertyPageImpl

IPropertyPage2Impl

需求

標頭: atlctl.h

IPropertyPage2Impl::EditProperty

指定啟用屬性頁時,哪些屬性控件會收到焦點。

HRESULT EditProperty(DISPID dispID);

傳回值

傳回E_NOTIMPL。

備註

請參閱 Windows SDK 中的 IPropertyPage2::EditProperty

另請參閱

IPerPropertyBrowsingImpl 類別
ISpecifyPropertyPagesImpl 類別
類別概觀