This method closes all open documents. This method is typically used as part of the File Exit command. The default implementation of this method calls the CDocument::DeleteContents method to delete the document's data and then closes the frame windows for all the views attached to the document.
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 void CloseAllDocuments( BOOL bEndSession );
CDocTemplate::SaveAllModified, CDocument::DeleteContents