CRecentFileList::CRecentFileList

CRecentFileList( UINT nStart, LPCTSTR lpszSection, LPCTSTR lpszEntryFormat, int nSize, int nMaxDispLen = AFX_ABBREV_FILENAME_LEN );

Parameters

nStart

Offset for the numbering in the menu display of the MRU (most recently used) file list.

lpszSection

Points to the name of the section of the registry or the application's .INI file where the MRU file list is read and/or written.

lpszEntryFormat

Points to a format string to be used for the names of the entries stored in the registry or the application's .INI file.

nSize

Maximum number of files in the MRU file list.

nMaxDispLen

Maximum length, in characters, available for the menu display of a filename in the MRU file list.

Remarks

Constructs a CRecentFileList object. 

The format string pointed to by lpszEntryFormat should contain "%d", which will be used for substituting the index of each MRU item. For example, if the format string is "file%d" then the entries will be named file0, file1, and so on.

CRecentFileList OverviewClass MembersHierarchy Chart