Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


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

void CloseAllDocuments( 
   BOOL 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

© 2015 Microsoft