CPropertyPage::SetModified

void SetModified( BOOL bChanged = TRUE );

Parameters

bChanged

TRUE to indicate that the property page settings have been modified since the last time they were applied; FALSE to indicate that the property page settings have been applied, or should be ignored.

Remarks

Call this member function to enable or disable the Apply Now button, based on whether the settings in the property page should be applied to the appropriate external object.

The framework keeps track of which pages are “dirty,” that is, property pages for which you have called SetModified( TRUE ). The Apply Now button will always be enabled if you call SetModified( TRUE ) for one of the pages. The Apply Now button will be disabled when you call SetModified( FALSE ) for one of the pages, but only if none of the other pages is “dirty.”

CPropertyPage OverviewClass MembersHierarchy Chart

See Also   CPropertyPage::CancelToClose