IPropertyPage interface (ocidl.h)
Provides the main features of a property page object that manages a particular page within a property sheet. A property page implements at least IPropertyPage and can optionally implement IPropertyPage2 if selection of a specific property is supported. See IPerPropertyBrowsing::MapPropertyToPage for more information on specific property browsing. The methods of IPropertyPage2 enable the property sheet or property frame to instruct the page when to perform specific actions, mostly based on user input such as switching between pages or pressing various buttons that the frame itself manages in the dialog box.
A property page manages a dialog box that contains only those controls that should be displayed for that one page within the property sheet itself. This means that the dialog box template used to define the page should only carry the WS_CHILD style and no others. It should not include any style related to a frame, caption, or system menus or controls.
Inheritance
The IPropertyPage interface inherits from the IUnknown interface. IPropertyPage also has these types of members:
Methods
The IPropertyPage interface has these methods.
IPropertyPage::Activate Creates the dialog box window for the property page. |
IPropertyPage::Apply Applies the current values to the underlying objects associated with the property page as previously passed to IPropertyPage::SetObjects. |
IPropertyPage::Deactivate Destroys the window created in IPropertyPage::Activate. |
IPropertyPage::GetPageInfo Retrieves information about the property page. |
IPropertyPage::Help Invokes the property page help in response to an end-user request. |
IPropertyPage::IsPageDirty Indicates whether the property page has changed since it was activated or since the most recent call to Apply. |
IPropertyPage::Move Positions and resizes the property page dialog box within the frame. |
IPropertyPage::SetObjects Provides the property page with an array of pointers to objects associated with this property page. |
IPropertyPage::SetPageSite 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. |
IPropertyPage::Show Makes the property page dialog box visible or invisible. If the page is made visible, the page should set the focus to itself, specifically to the first property on the page. |
IPropertyPage::TranslateAccelerator Passes a keystroke to the property page for processing. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ocidl.h |