Show user defined commandbarButton when the user right clicks on Contact

  • Thread starter Thread starter Venugopal
  • Start date Start date
V

Venugopal

Hi,

Can anybody help in creating an Add-In which needs to do the following
things

1. In OnConnecting, I need to create a commandbarButton to the popup menu,
which should be shown
when the user right clicks on a contact name.
2. I should able to fire an event when I selected the new commandbarButton.

I will be thankful, if someone can help me with the required code.

Thanks,
Venugopal
 
Outlook does not expose the right-click context menu in its CommandBars collection. AFAIK, the only time you'll see a new right-click command is when the item is using a custom form with one or more custom actions.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Thanks, Sue Mosher for your response. I have one quick question, can I do
the following

1. Create a commandbar Button on Main Menu bar.
2. In Calendar, I will select an Appointment
3. When I click on the Commandbar Button, I should know which Appointment
Item is selected

If you can provide this, it will help me a lot.

Thanks,
Venugopal


Outlook does not expose the right-click context menu in its CommandBars
collection. AFAIK, the only time you'll see a new right-click command is
when the item is using a custom form with one or more custom actions.

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Yes. ActiveExplorer.Selection is the collection of selected items.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top