共用方式為


CWinApp::ReopenPreviousFilesAtRestart

判斷重新啟動管理員是否重新開啟的檔案,在應用程式意外關閉。

virtual BOOL ReopenPreviousFilesAtRestart() const;

傳回值

TRUE 指出重新啟動管理員重新開啟先前開啟檔案; FALSE 指出重新啟動管理員不。

需求

標題: afxwin.h

請參閱

參考

CWinApp 類別

階層架構圖

CWinApp::SupportsRestartManager

CWinApp::SupportsApplicationRecovery

CWinApp::SupportsAutosaveAtRestart

CWinApp::SupportsAutosaveAtInterval

CWinApp::RestoreAutosavedFilesAtRestart