IPropertyPage2Impl 類別

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

重要事項重要事項

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

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

參數

  • T
    您的類別,衍生自 IPropertyPage2Impl

Members

6fdcy5yk.collapse_all(zh-tw,VS.110).gif公用方法

名稱

描述

IPropertyPage2Impl::EditProperty

指定哪個屬性控制項將接收焦點,在屬性頁中啟動。ATL 實作會傳回 E_NOTIMPL

備註

IPropertyPage2 介面會加入 EditProperty 方法擴充 IPropertyPage 。這個方法允許用戶端選取 屬性頁上物件的特定屬性。

類別 IPropertyPage2Impl 傳回 IPropertyPage2::EditPropertyE_NOTIMPL 。不過,它繼承 IPropertyPageImpl 的預設實作並透過傳送訊息至實作 IUnknown 傾印裝置偵錯組建。

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

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

繼承階層架構

IPropertyPage

IPropertyPageImpl

IPropertyPage2Impl

需求

Header: atlctl.h

請參閱

參考

IPerPropertyBrowsingImpl 類別

ISpecifyPropertyPagesImpl 類別

其他資源

ATL 類別概觀