Connecting Tech Pros Worldwide Forums | Help | Site Map

Adding a contextMenu to a menuitem

xlar54
Guest
 
Posts: n/a
#1: Feb 11 '07
Hey folks, could someone assist with this? In IE 7, you can click the
Favorites menu, and the items that drop down can then be right-clicked
on, providing a context menu, where you can copy, delete, etc. I
would like similar functionality via C# in my own app, but I can not
seem to figure out how to get a context menu to come from a menu
item. Any help would be appreciated.

Thanks


Otis Mukinfus
Guest
 
Posts: n/a
#2: Feb 11 '07

re: Adding a contextMenu to a menuitem


On 10 Feb 2007 22:26:36 -0800, "xlar54" <scott.hutter@gmail.comwrote:
Quote:
>Hey folks, could someone assist with this? In IE 7, you can click the
>Favorites menu, and the items that drop down can then be right-clicked
>on, providing a context menu, where you can copy, delete, etc. I
>would like similar functionality via C# in my own app, but I can not
>seem to figure out how to get a context menu to come from a menu
>item. Any help would be appreciated.
>
>Thanks
Trap the right click on the menu item and open your ContextMenu object from
there.

Look up RightClick in the documentation.

Good luck with your project,

Otis Mukinfus

http://www.otismukinfus.com
http://www.arltex.com
http://www.tomchilders.com
http://www.n5ge.com
Closed Thread