共用方式為


CWinApp::SupportsApplicationRecovery

判斷重新啟動管理員是否復原非預期地結束應用程式。

virtual BOOL SupportsApplicationRecovery() const;

傳回值

TRUE 指出重新啟動管理員還原應用程式; FALSE 指出重新啟動管理員不。

需求

標題: afxwin.h

請參閱

參考

CWinApp 類別

階層架構圖

CWinApp::SupportsRestartManager

CWinApp::SupportsAutosaveAtRestart

CWinApp::SupportsAutosaveAtInterval

CWinApp::ReopenPreviousFilesAtRestart

CWinApp::RestoreAutosavedFilesAtRestart