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.

Important

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

Syntax

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

Parameters

T
Your class, derived from IPropertyPage2Impl.

Members

Public Methods

Name Description
IPropertyPage2Impl::EditProperty Specifies which property control will receive the focus when the property page is activated. The ATL implementation returns E_NOTIMPL.

Remarks

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

Inheritance Hierarchy

IPropertyPage

IPropertyPageImpl

IPropertyPage2Impl

Requirements

Header: atlctl.h

IPropertyPage2Impl::EditProperty

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.

See Also

IPerPropertyBrowsingImpl Class
ISpecifyPropertyPagesImpl Class
Class Overview