CWinApp::AddToRecentFileList
Visual Studio 2012
Call this member function to add lpszPathName to the MRU file list.
virtual void AddToRecentFileList( LPCTSTR lpszPathName );
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.