共用方式為


CWinApp::RestoreAutosavedFilesAtRestart

判斷重新啟動管理員是否要還原自動儲存的檔案,並重新啟動應用程式。

virtual BOOL RestoreAutosavedFilesAtRestart() const;

傳回值

TRUE 指出重新啟動管理員還原已自動儲存的檔案, FALSE 指出重新啟動管理員不。

需求

標題: afxwin.h

請參閱

參考

CWinApp 類別

階層架構圖

CWinApp::SupportsRestartManager

CWinApp::SupportsApplicationRecovery

CWinApp::SupportsAutosaveAtRestart

CWinApp::SupportsAutosaveAtInterval

CWinApp::ReopenPreviousFilesAtRestart