SetDirtyFlag

void SetDirtyFlag(
BOOL fDirty = TRUE);

Parameter

fDirty

TRUE to dirty the page. FALSE to mark the page as clean.

Comments

Sets the dirty flag for the page. The page should be dirtied when the user changes property values in the UI, which enables the Apply button. SetDirtyFlag(FALSE) should be called after handling the PPM_APPLY message to disable the Apply button.