IPropertyPage::IsPageDirty
Indicates
whether the property page has changed its state since activation or since the
last call to IPropertyPage::Apply
HRESULT
IsPageDirty(void);
Return Values
S_OK
The value
state of the property page is dirty, that is, it has changed and is different
from the state of the objects.
S_FALSE
The value
state of the page has not changed and is current with that of the objects.
Remarks
Notes to Implementers
This method has
no reason to return an error code, since the inability to determine if the page
is dirty should return S_OK as a default. In this way, the user has a chance to
update the values. The page should not return an error code, since an error
code is not the same as S_OK and would indicate that the page is not dirty.
Then, the property frame could potentially disable the Apply button, not
allowing the user to make sure that the property values are current.
See Also