Editable menus

rbulph
03-03-2003, 08:52 AM
I'd like some of my menus to operate in the same way as the menus that you get from the Start button in Windows, i.e. to allow the user to drag the menu items to a different position (with a little bar to indicate where it will go if dropped), and to display a menu of options when the user right-clicks on a menu item.

The menu control only offers a click event of course, which does not even return which mouse button the click event relates to, so that's not a lot of help. So I think this must be a question of sub-classing the form and owner drawing the menus. I have already done this in order to include menu icons, so I guess I just need to work on extending this. But I was wondering if anyone had any prior experience of this that would show me the way?

With thanks for your help.

rbulph

Machaira
03-03-2003, 11:02 AM
I just use a third party control that has this functionality built in. Infragistics (Sheridan) has a package that does this and much more.

rbulph
03-04-2003, 12:58 PM
Thanks. Couldn't actually find the package on the Infragistics website, but am now thinking it's probably better for me to just have a little form in toolbox style containing the information that would have been on the menus, so that the user can amend it there.

Machaira
03-04-2003, 01:59 PM
Try here - http://www.infragistics.com/products/activex/ultratoolbars.asp or here - http://www.infragistics.com/products/dotnet/ultrawintoolbars.asp

It's part of a package.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum