CRecentFileList::Add

This method adds the file whose path is specified 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.

At a Glance

Header file: Afxadv.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Syntax

virtual void Add( LPCTSTR lpszPathName );

See Also

CRecentFileList::Remove, CRecentFileList::UpdateMenu