Call this member function after you've 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.
void SetModifiedFlag( BOOL bModified = TRUE );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDocument Overview, CDocument Member Functions, Application Architecture Classes, CDocument::IsModified, CDocument::SaveModified