Call this member function to add the file whose path is given in lpszPathName to the most recently used (MRU) file list. 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.
virtual void Add( LPCTSTR lpszPathName );
Header file: | Afxadv.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CRecentFileList Overview, CRecentFileList Member Functions, File Service Classes, CRecentFileList::Remove, CRecentFileList::UpdateMenu