Export (0) Print
Expand All

Application.ShortcutContextMenuDisplay Event

Office 2007
Occurs before a context menu is displayed for a shortcut.

Version Information
 Version Added:  Outlook 2007

Syntax

expression.ShortcutContextMenuDisplay(CommandBar, Shortcut)

expression   An expression that returns an Application object.

Parameters

NameRequired/OptionalData TypeDescription
CommandBarRequiredCommandBarThe context menu to be displayed.
ShortcutRequiredOutlookBarShortcutThe shortcut for which the context menu is to be displayed.

Remarks

This event occurs before a context menu for a shortcut on the Outlook bar (such as the Outlook Today shortcut) is to be displayed, allowing the CommandBar object representing the context menu to be customized by an add-in.




Community Additions

ADD
Show:
© 2014 Microsoft