The IPropertyPage2 interface is an extension to IPropertyPage 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.
Implement this interface if your property page object supports selection of a specific property.
Use this interface to select a specific property in a property page.
Methods in Vtable Order
IUnknown Methods |
Description |
Returns pointers to supported interfaces. | |
Increments reference count. | |
Decrements reference count. |
IPropertyPage Methods |
Description |
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. | |
Creates the dialog box window for the property page. | |
Destroys the window created with Activate. | |
Returns information about the property page. | |
Provides the property page with an array of IUnknown pointers for objects associated with this property page. | |
Makes the property page dialog box visible or invisible. | |
Positions and resizes the property page dialog box within the frame. | |
Indicates whether the property page has changed since activated or since the most recent call to Apply. | |
Applies current property page values to underlying objects specified through SetObjects. | |
Invokes help in response to end-user request. | |
Provides a pointer to a MSG structure that specifies a keystroke to process. |
IPropertyPage2 Methods |
Description |
Specifies which field is to receive the focus when the property page is activated. |
See Also
IPerPropertyBrowsing, IPropertyPage, IPropertyPageSite, ISpecifyPropertyPages, IPerPropertyBrowsing::MapPropertyToPage