We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

"5 most recent" menus

Thread ID:





264 May 17,2002 05:35 AM May 17,2002 03:02 PM Windows Forms 1
Tags: FAQ
julian jelfs
Asked On May 17, 2002 05:35 AM

Hi, Is there an easy was of creating a menu which 'remembers' for example a file menu which remembers the five last files opened and displays them at the bottom of the menu. I'm sure you've seen this type of thing. I can imagine ways of doing it by just dynamically adding and removing menu items, I just wandered if there was a neater way? Thanks.

Administrator [Syncfusion]
Replied On May 17, 2002 03:02 PM

I don't think there is any other "neater" way to do this WinForms menus. In Essential Tools XPMenus, however, we have a special menu item (called ListBarItem) that can take a StringList and display the list and menu items (throwing special events to notify item click). We infact use it to implement the same Most-Recently-Used files-list in our demo (VS.Net demo) and samples. -Praveen Ramesh


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.