Share via


ApplicationEvents_11_Event.ShortcutContextMenuDisplay Event

Occurs before a context menu is displayed for a shortcut.

Namespace:  Microsoft.Office.Interop.Outlook
Assembly:  Microsoft.Office.Interop.Outlook (in Microsoft.Office.Interop.Outlook.dll)

Syntax

'Declaration
Event ShortcutContextMenuDisplay As ApplicationEvents_11_ShortcutContextMenuDisplayEventHandler
'Usage
Dim instance As ApplicationEvents_11_Event
Dim handler As ApplicationEvents_11_ShortcutContextMenuDisplayEventHandler

AddHandler instance.ShortcutContextMenuDisplay, handler
event ApplicationEvents_11_ShortcutContextMenuDisplayEventHandler ShortcutContextMenuDisplay

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.

See Also

Reference

ApplicationEvents_11_Event Interface

ApplicationEvents_11_Event Members

Microsoft.Office.Interop.Outlook Namespace

Microsoft.Office.Interop.Outlook.ApplicationEvents_11_ShortcutContextMenuDisplayEventHandler