Context Menus

  • Thread starter Thread starter Peter Swan
  • Start date Start date
P

Peter Swan

Hi all,

how do I add an option to the menu that appears when you right click on a
contact?

I am just a begginner, and have no idea! Using visual studio, got the
outlook 11 library (2003) and the office one.

Can get add a toolbar option, but dont know how to access "on contact right
click" sought of thing!!

VB or C# is fine.

Cheers,

Pete
 
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. 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.
 
Back
Top