How do you clear recent documents...
C / C++ / MFC
2
Posts
2
Posters
0
Views
1
Watching
-
When I made an MFC app I included support for 4 recent documents but how can you erase these? Actual Linux Penguins were harmed in the creation of this message.
I think you'll have to use the undocumented class
CRecentFileList
, which manages this file list. The file list is owned byCWinApp
, which has them_pRecentFileList
member. This member isprotected
, so you'll have to add code to manipulate it to your application class which derives fromCWinApp
. Stability. What an interesting concept. -- Chris Maunder