Adding a contextMenu to a menuitem

  • Thread starter Thread starter xlar54
  • Start date Start date
X

xlar54

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
 
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Back
Top