Export (0) Print
Expand All
Expand Minimize

CWinApp::CloseAllDocuments

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

void CloseAllDocuments( 
   BOOL bEndSession  
);

bEndSession

Specifies whether or not the Windows session is being ended. It is TRUE if the session is being ended; otherwise FALSE.

Call HideApplication before calling CloseAllDocuments.

Header: afxwin.h

Show:
© 2014 Microsoft