PC Review Forums Newsgroups Microsoft Outlook Microsoft Outlook Program Addins Adding functions to the right-click menu in Outlook 2003

Reply

Adding functions to the right-click menu in Outlook 2003

 
Thread Tools Rate Thread
Old 05-04-2005, 10:39 AM   #1
Sebastian Kinnaird
Guest
 
Posts: n/a
Default Adding functions to the right-click menu in Outlook 2003


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
--
Sebastian Kinnaird


  Reply With Quote
Old 05-04-2005, 12:21 PM   #2
Sue Mosher [MVP-Outlook]
Guest
 
Posts: n/a
Default Re: Adding functions to the right-click menu in Outlook 2003

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
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx


"Sebastian Kinnaird" <essdeekay.nospam@hotmail.com> wrote in message news:3bf4nfF6i871kU1@individual.net...
> 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
> --
> Sebastian Kinnaird
>
>

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off