Call this member function to close all open documents. This member function is typically used as part of the File Exit command. The default implementation of this function calls the CDocument::DeleteContents member function to delete the document's data and then closes the frame windows for all the views attached to the document.
virtual void CloseAllDocuments( BOOL bEndSession );
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
CDocTemplate Overview, CDocTemplate Member Functions, Application Architecture Classes, CDocTemplate::SaveAllModified, CDocument::DeleteContents