IPropertyPage2Impl Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at IPropertyPage2Impl Class.

This class implements IUnknown and inherits the default implementation of IPropertyPageImpl.

System_CAPS_ICON_important.jpg Important

This class and its members cannot be used in applications that execute in the Windows Runtime.

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

Parameters

T
Your class, derived from IPropertyPage2Impl.

Public Methods

NameDescription
IPropertyPage2Impl::EditPropertySpecifies which property control will receive the focus when the property page is activated. The ATL implementation returns E_NOTIMPL.

The IPropertyPage2 interface extends IPropertyPage by adding the EditProperty method. This method allows a client to select a specific property in a property page object.

Class IPropertyPage2Impl simply returns E_NOTIMPL for IPropertyPage2::EditProperty. However, it inherits the default implementation of IPropertyPageImpl and implements IUnknown by sending information to the dump device in debug builds.

When you create a property page, your class is typically derived from IPropertyPageImpl. To provide the extra support of IPropertyPage2, modify your class definition and override the EditProperty method.

Related Articles ATL Tutorial, Creating an ATL Project

IPropertyPage

IPropertyPageImpl

IPropertyPage2Impl

Header: atlctl.h

Specifies which property control will receive the focus when the property page is activated.

HRESULT EditProperty(DISPID dispID);

Return Value

Returns E_NOTIMPL.

Remarks

See IPropertyPage2::EditProperty in the Windows SDK.

IPerPropertyBrowsingImpl Class
ISpecifyPropertyPagesImpl Class
Class Overview

Show: