共用方式為


CWinApp::SupportsApplicationRecovery

Determines whether the restart manager recovers an application that exited unexpectedly.

virtual BOOL SupportsApplicationRecovery() const;

Return Value

TRUE indicates the restart manager recovers the application; FALSE indicates the restart manager does not.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart

CWinApp::SupportsRestartManager

CWinApp::SupportsAutosaveAtRestart

CWinApp::SupportsAutosaveAtInterval

CWinApp::ReopenPreviousFilesAtRestart

CWinApp::RestoreAutosavedFilesAtRestart