Поделиться через


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

См. также

Основные понятия

CWinApp Class

CWinApp Members

Hierarchy Chart

CWinApp::SaveAllModified

CWinApp::HideApplication