PC Review


Reply
Thread Tools Rate Thread

Adding a contextMenu to a menuitem

 
 
xlar54
Guest
Posts: n/a
 
      11th Feb 2007
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

 
Reply With Quote
 
 
 
 
Otis Mukinfus
Guest
Posts: n/a
 
      11th Feb 2007
On 10 Feb 2007 22:26:36 -0800, "xlar54" <(E-Mail Removed)> wrote:

>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
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add menuitem to default TextBox ContextMenu =?Utf-8?B?YXNpdmE=?= Microsoft Dot NET Framework Forms 1 25th Aug 2006 09:33 AM
MenuItem.Select event is not raised for ContextMenu MartinBsx Microsoft Dot NET Framework Forms 5 28th Nov 2005 02:36 AM
Adding to an existing MenuItem's MenuItem Collection Dynamically snesbit Microsoft VB .NET 1 9th Mar 2005 03:05 AM
Can anybody tell me how to access menuitem's name property of a a contextmenu? Peter Microsoft VB .NET 2 15th Jun 2004 09:16 AM
ContextMenu - default MenuItem highlight Neville Lang Microsoft Dot NET Compact Framework 0 15th May 2004 03:14 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 AM.