PC Review


Reply
Thread Tools Rate Thread

how to add entry to contextmenu

 
 
Stephan Wright
Guest
Posts: n/a
 
      5th Aug 2004
Hy!

I do want to add an item to the contextmenu which appears when you
rightclick onto a contact item. This item should be my application.
And if possible the clicked item should be send to the application for
some further operation.

At the moment I have created a MenuBarButton which is connected to my
application. But then I would have to gray out the button as long as
my opened folder is not the one of the contacts. And besides, I won't
be able to send any contact item to my application this way.

So it would help me a lot if anyone had found out about what the code
has to look like to do either of these tasks meaning either

1) item in contextmenu: when being clicked the application starts (if
it isn't already running) and the contact is sent to the application
(if this is possible)

or

2) grayed out Button as long as the opened folder isn't the contact
item folder. When the button is clicked the "last selected item" is
being sent to the application which either starts or is running.

So if anyone of you had a sample of code it would help me a lot
solving my problem.

Thanks!
Stephan.
 
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
I don't want the ContextMenu to appear Dom Microsoft C# .NET 0 2nd Jan 2008 03:09 PM
contextmenu Cc Microsoft VB .NET 2 27th Oct 2004 06:57 AM
ContextMenu - MVP please help Herfried K. Wagner [MVP] Microsoft Dot NET Framework Forms 1 15th Jul 2004 05:57 PM
ContextMenu - MVP please help Herfried K. Wagner [MVP] Microsoft C# .NET 1 15th Jul 2004 05:57 PM
Is it possible to add ContextMenu items to the Standard TextBox ContextMenu??? =?Utf-8?B?TWlrZSBpbiBQYXJhZGlzZQ==?= Microsoft Dot NET Framework Forms 1 15th Mar 2004 07:54 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:40 PM.