Share via


CRecentFileList::Add

Adds the file whose path is given in lpszPathName to the most recently used (MRU) file list.

virtual void Add( 
   LPCTSTR lpszPathName  
);

Parameters

  • lpszPathName
    Pathname to be added to the list.

Remarks

The file name will be added to the top of the MRU list. If the file name already exists in the MRU list, it will be moved to the top.

Requirements

Header: afxadv.h

See Also

Reference

CRecentFileList Class

Hierarchy Chart

CRecentFileList::Remove

CRecentFileList::UpdateMenu

Other Resources

CRecentFileList Members