This method is called by the framework before a modified document is closed. The default implementation of this method displays a message box asking the user whether to save the changes to the document, if any have been made.
Override this method if your program requires a different prompting procedure. This is an advanced overridable.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
virtual BOOL SaveModified( );
CDocument::CanCloseFrame, CDocument::IsModified, CDocument::OnNewDocument, CDocument::OnOpenDocument, CDocument::OnSaveDocument