Adding functions to the right-click menu in Outlook 2003

  • Thread starter Sebastian Kinnaird
  • 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
 
S

Sue Mosher [MVP-Outlook]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top