IPropertyPageSite  13O6UWD

The IPropertyPageSite interface provides the main features for a property page site object. For each property page created within a property frame, the frame creates a property page site to provide information to the property page and to receive notifications from the page when changes occur. This latter notification is used to initiate a call to IPropertyPage::IsPageDirty11N45FO, the return value of which is then used to enable or disable the frame s Apply button.

When to Implement

Implement this interface on a site object that will manage a property page on behalf of the property frame. Typically, the OLE-provided property frame created through OleCreatePropertyFrame and OleCreatePropertyFrameIndirect implements site objects.

When to Use

Use a site object with this interface to set up communications between the property frame and the property page object.

Methods in Vtable Order

IUnknown Methods

Description

QueryInterface2Y54585

Returns pointers to supported interfaces.

AddRef1SHW0SS

Increments reference count.

ReleaseDUW01A

Decrements reference count.

 

IPropertyPageSite Methods

Description

OnStatusChange8U5YI7

Indicates that the user has modified property values on the property page.

GetLocaleID5_JD__O

Returns the locale identifier so the property page can adjust itself to country-specific settings.

GetPageContainerBLU8OX

Returns an IUnknown pointer for the object representing the entire property frame dialog box that contains all the pages.

TranslateAcceleratorKL9JAV

Passes a keystroke to the property frame for processing.

 

See Also

IPerPropertyBrowsing, IPropertyPage, IPropertyPage2, IPropertyPageSite - Ole Implementation, ISpecifyPropertyPages