Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Call this member function to add lpszPathName to the MRU file list.

virtual void AddToRecentFileList( 
   LPCTSTR lpszPathName  


The path of the file.

You should call the LoadStdProfileSettings member function to load the current MRU file list before you use this member function.

The framework calls this member function when it opens a file or executes the Save As command to save a file with a new name.

// This adds the pathname c:\temp\test.doc to the top of 
// the most recently used (MRU) list in the File menu.

Header: afxwin.h

© 2015 Microsoft