Adding functions to the right-click menu in Outlook 2003

  • Thread starter Thread starter Sebastian Kinnaird
  • Start date Start date
S

Sebastian Kinnaird

Is there a way to add functions to the right-click menu in Outlook 2003?

Specifically, if I receive an email that contains an IP address I'd like to
be able to highlight the IP address and select say ping or traceroute from
the right-click menu.

Is this possible with an add-in of some sort?

Thanks,
Seb
 
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.
 
Back
Top