Share via


CWinApp::SaveAllModified

Called by the framework to save all documents when the application's main frame window is to be closed, or through a WM_QUERYENDSESSION message.

virtual BOOL SaveAllModified( );

Return Value

Nonzero if safe to terminate the application; 0 if not safe to terminate the application.

Remarks

The default implementation of this member function calls the CDocument::SaveModified member function in turn for all modified documents within the application.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart