Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.
It would be neat to have some sort of functionality in
CRecentDocumentList(Base) to automatically add/remove
separators to the menu depending on whether the MRU
list is empty or not.
If you would like to hide the MRU list completely, you would need to remove placeholder menu item with ID = ID_FILE_MRU_FIRST, and CRecentDocumentList requires that item. Since that means thatyou would need to add/remove that menu item yourself, then you can also add separators as well.
To fully enable this feature, we would need another way to add MRU list, based on position. Current implementation doesn't do that, and we suggest using a sub menu, since that will not distort the width of the File menu.