Add new Contextmenu on rightclick mail

Add-in Express™ Support Service
That's what is more important than anything else

Add new Contextmenu on rightclick mail
 
Squicky




Posts: 2
Joined: 2010-10-20
Hello

I write an Addin with Visual Studio 2008 for Outlook 2007 with the help of this Video:
http://msdn.microsoft.com/en-us/office/bb738107.aspx

Now I have to create this Add-In for Outlook 2003 too.
But how can I add a new Button to the rightclick context menu of a E-Mail?

Thanks
Posted 20 Oct, 2010 08:04:53 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Squicky,

Please check http://www.add-in-express.com/docs/net-commandbar-components.php#context-menu.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Oct, 2010 10:14:18 Top
Squicky




Posts: 2
Joined: 2010-10-20
Is there an easy example for adding a new button to the contextmenu of a rightclick (Mail)?

For example:
right-click at one E-Mail --> left-click at the new button ("test") in the contextmenu --> a Msgbox is obening and show the subject of the right-clicked mail.

Or do you have another simple example?

Thanks
Posted 20 Oct, 2010 10:31:05 Top
Andrei Smolin


Add-in Express team


Posts: 18825
Joined: 2006-05-11
Hi Squicky,

Please check "Your First Microsoft Outlook COM Add-in" in the download called "Add-in Express for Office and .NET sample projects", see http://www.add-in-express.com/downloads/adxnet.php. That sample is described in http://www.add-in-express.com/docs/net-outlook-addins.php, see Step #6.


Andrei Smolin
Add-in Express Team Leader
Posted 20 Oct, 2010 11:52:31 Top