Answered by:
Add items to right click menu on mail item

Question
-
Hi,
I want to add item to right click menu in main exlorer screen on mail item. I am developing addin with mapi for office 2000,xp,2003,2007. I can append some item to menu bar in installcommands function.
Is there any way to add new items to right click menu of selected item.
Thanks in advance
Wednesday, April 27, 2011 11:16 AM
Answers
-
Can't do that in an ECE without using the Outlook Object Model.
You can retrieve Outlook.Application COM object using IOutlookExtCallback interface, then use OOM to handle the Application.ItemContextMenuDisplay event to insert your own menu iterms.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/redemption
Redemption - what the Outlook
Object Model should have been- Proposed as answer by 许阳(无锡) Friday, April 29, 2011 7:55 AM
- Marked as answer by Ramazan Girgin Saturday, April 30, 2011 3:19 AM
Thursday, April 28, 2011 7:48 PM
All replies
-
By "mapi", do you mean you are writing an Exchange Client Extension (ECE)?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/redemption
Redemption - what the Outlook
Object Model should have beenWednesday, April 27, 2011 2:04 PM -
Yes,
I'm writing ECE
Thursday, April 28, 2011 7:42 PM -
Can't do that in an ECE without using the Outlook Object Model.
You can retrieve Outlook.Application COM object using IOutlookExtCallback interface, then use OOM to handle the Application.ItemContextMenuDisplay event to insert your own menu iterms.
Dmitry Streblechenko (MVP)
http://www.dimastr.com/redemption
Redemption - what the Outlook
Object Model should have been- Proposed as answer by 许阳(无锡) Friday, April 29, 2011 7:55 AM
- Marked as answer by Ramazan Girgin Saturday, April 30, 2011 3:19 AM
Thursday, April 28, 2011 7:48 PM -
ThanksSaturday, April 30, 2011 3:19 AM