CWinApp::LoadStdProfileSettings

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.

void LoadStdProfileSettings(
   UINT nMaxMRU = _AFX_MRU_COUNT 
);

Parameters

  • nMaxMRU
    The number of recently used files to track.

Remarks

If nMaxMRU is 0, no MRU list will be maintained.

Requirements

Header: afxwin.h

See Also

Reference

CWinApp Class

Hierarchy Chart

CWinApp::OnFileOpen

CWinApp::AddToRecentFileList

Other Resources

CWinApp Members