#12 CRecentDocumentList automatic separators

wont-fix
None
5
2014-02-23
2004-10-22
Anonymous
No

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.

Discussion

    • assigned_to: nobody --> nenadstefanovic
     
    • status: open --> wont-fix
    • Group: --> Next Release (example)
     
  • 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.