CRecentFileList::Add

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.

Syntax

virtual void Add( LPCTSTR lpszPathName );

At a Glance

Header file: Afxadv.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CRecentFileList Overview, CRecentFileList Member Functions, File Service Classes, CRecentFileList::Remove, CRecentFileList::UpdateMenu