Udostępnij za pośrednictwem


CWinApp::CloseAllDocuments

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

void CloseAllDocuments(
   BOOL bEndSession 
);

Parameters

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

Remarks

Call HideApplication before calling CloseAllDocuments.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart

CWinApp::SaveAllModified

CWinApp::HideApplication

Other Resources

CWinApp Members