CWinApp::CloseAllDocuments

Call this member function to close all open documents before exiting. Call HideApplication before calling CloseAllDocuments.

Syntax

void CloseAllDocuments( BOOL bEndSession );

At a Glance

Header File Afxwin.h
Platforms
Versions 1.0 and later
Complete documentation Visual C++ documentation

See Also

CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::SaveAllModified, CWinApp::HideApplication, HideApplication