共用方式為


CWinApp::SupportsAutosaveAtRestart

判斷重新啟動管理員是否自動儲存所有開啟的文件,在應用程式重新啟動。

virtual BOOL SupportsAutosaveAtRestart() const;

傳回值

TRUE 指出重新啟動管理員自動儲存開啟的文件,在應用程式重新啟動時, FALSE 指出重新啟動管理員不。

需求

標題: afxwin.h

請參閱

參考

CWinApp 類別

階層架構圖

CWinApp::SupportsRestartManager

CWinApp::SupportsApplicationRecovery

CWinApp::SupportsAutosaveAtInterval

CWinApp::ReopenPreviousFilesAtRestart

CWinApp::RestoreAutosavedFilesAtRestart