IPropertyPageSite::OnStatusChange
Informs the
frame that the property page managed by this site has changed its state, that
is, one or more property values have been changed in the page. Property pages
should call this method whenever changes occur in their dialog boxes.
HRESULT
OnStatusChange(
DWORD dwFlags |
//Indicates what changes have occurred |
); |
|
Parameters
dwFlags
[in] Flags to
indicate what changes have occurred. The dwFlags parameter can contain
either of these two values to indicate the type of status change:
Flag
Value |
Description |
PROPPAGESTATUS_DIRTY |
Values in
pages have changed so the state of the Apply button should be updated. |
PROPPAGESTATUS_VALIDATE |
Now is an
appropriate time to apply changes. |
Return Values
This method
supports the standard return value E_INVALIDARG, as well as the following:
S_OK
The status
change was noted.