共用方式為


CWinApp::LoadStdProfileSettings

voidLoadStdProfileSettings(UINTnMaxMRU**=_AFX_MRU_COUNT);**

Parameters

nMaxMRU

The number of recently used files to track.

Remarks

Call this member function from within the InitInstance member function to enable and load the list of most recently used (MRU) files and last preview state. If nMaxMRU is 0, no MRU list will be maintained.

CWinApp OverviewClass MembersHierarchy Chart

See Also   CWinApp::OnFileOpen, CWinApp::AddToRecentFileList