Call this member function to hide an application before closing the open documents.
void HideApplication( );
| Header File | Afxwin.h | 
| Platforms | |
| Versions | 1.0 and later | 
| Complete documentation | Visual C++ documentation | 
CWinApp Overview, CWinApp Member Functions, Application Architecture Classes, CWinApp::CloseAllDocuments