CRecentFileList Class
Supports control of the most recently used (MRU) file list.
class CRecentFileList
Members
Public Constructors
Name |
Description |
---|---|
Constructs a CRecentFileList object. |
Public Methods
Name |
Description |
---|---|
Adds a file to the MRU file list. |
|
Provides a display name for menu display of an MRU filename. |
|
Retrieves the number of files in the MRU file list. |
|
Reads the MRU file list from the registry or .INI file. |
|
Removes a file from the MRU file list. |
|
Updates the menu display of the MRU file list. |
|
Writes the MRU file list from the registry or .INI file. |
Public Operators
Name |
Description |
---|---|
Returns a CString object at a given position. |
Remarks
Files can be added to or deleted from the MRU file list, the file list can be read from or written to the registry or an .INI file, and the menu displaying the MRU file list can be updated.
For more information about MRU menu items, see
- Knowledge Base article Q243751 : HOWTO: Add Command Handlers for MRU Menu Items in MFC Application
Inheritance Hierarchy
CRecentFileList
Requirements
Header: afxadv.h