View Single Post
  #5  
Old October 2nd 06, 03:34 PM posted to microsoft.public.outlook.program_addins
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default Novice: Adding a menu to current menu?

And whatever was right-clicked or the selection that was right-clicked will
be in the Selection collection passed in that event. All context menus share
the ContextMenuClose event, so you also know when the context menu is
closing.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm


"Dmitry Streblechenko" wrote in message
...
Trap the Application.OnItemContextMenuDisplay. In your implementation of
the OnItemContextMenuDisplay event handler, add your button to the command
bar passed in the CmdBar parameter.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


Ads