IPropertyPage2  2I_78G

The IPropertyPage2 interface is an extension to IPropertyPage06_8NW to support initial selection of a property on a page. It works in conjunction with the implementation of IPerPropertyBrowsing::MapPropertyToPage on an object that supplies properties and specifies property pages through ISpecifyPropertyPages. This interface has only one extra method in addition to those in IPropertyPage. That method, IPropertyPage2::EditProperty tells the page which property to highlight.

When to Implement

Implement this interface if your property page object supports selection of a specific property.

When to Use

Use this interface to select a specific property in a property page.

Methods in Vtable Order

IUnknown Methods

Description

QueryInterface2Y54585

Returns pointers to supported interfaces.

AddRef1SHW0SS

Increments reference count.

ReleaseDUW01A

Decrements reference count.

 

IPropertyPage Methods

Description

SetPageSite1MGSQJH

Initializes a property page and provides the page with a pointer to the IPropertyPageSite interface through which the property page communicates with the property frame.

ActivateKV8_BV

Creates the dialog box window for the property page.

Deactivate70X3_H

Destroys the window created with Activate.

GetPageInfoYX.2_Z

Returns information about the property page.

SetObjects1DNH5AP

Provides the property page with an array of IUnknown pointers for objects associated with this property page.

Show7_J5_7_

Makes the property page dialog box visible or invisible.

MoveFC8HV7

Positions and resizes the property page dialog box within the frame.

IsPageDirty11N45FO

Indicates whether the property page has changed since activated or since the most recent call to Apply.

ApplyRA4AM

Applies current property page values to underlying objects specified through SetObjects.

Help1UUK_P7

Invokes help in response to end-user request.

TranslateAccelerator6HR8PJ

Provides a pointer to a MSG structure that specifies a keystroke to process.

 

IPropertyPage2 Methods

Description

EditProperty4OU8BWI

Specifies which field is to receive the focus when the property page is activated.

 

See Also

IPerPropertyBrowsing, IPropertyPage, IPropertyPageSite, ISpecifyPropertyPages, IPerPropertyBrowsing::MapPropertyToPage