How do I add a new option in the context menu(Outlook)?

  • Thread starter Thread starter Guest
  • Start date Start date
Outlook does not directly expose the right-click context menu in its CommandBars collection. You will, however, see a new right-click command is when the item selected is using a custom form that includes one or more custom actions. You can also add a custom action without using a custom form, as demonstrated at http://www.outlookcode.com/codedetail.aspx?id=526

Richard Kagerer has posted a code sample at http://www.outlookcode.com/codedetail.aspx?id=314 that shows how you might trick Outlook into exposing the context menu through Explorer.CommandBars.

The C++ sample add-in at http://www.codeproject.com/atl/outlook2k3addin.asp also shows a technique for working with the context menu.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Thank you very much for your response.
Is there any possibility to do that by using Delphi programming? What I want
to do is when somone right clicks on an email, the context menu that appears
must contain another link with a new functionality - exporting my email in
another format and save it on the disk.
 
Given that all the available methods are unsupported, they're probably as likely to work in Delphi as in any other code environment.
 
You have right...it not depends on the language programming...my question is:
it is doable what I want to do?
 
The only possible answer is maybe -- try one or more of the methods outlined below -- and if you do it with anything other than a custom action, it will be unsupported.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Back
Top