CDocument::SetModifiedFlag

voidSetModifiedFlag(BOOLbModified**=TRUE);**

Parameters

bModified

Flag indicating whether the document has been modified.

Remarks

Call this function after you have made any modifications to the document. By calling this function consistently, you ensure that the framework prompts the user to save changes before closing a document. Typically you should use the default value of TRUE for the bModified parameter. To mark a document as clean (unmodified), call this function with a value of FALSE.

CDocument OverviewClass MembersHierarchy Chart

See Also   CDocument::IsModified, CDocument::SaveModified