Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Application.ViewContextMenuDisplay Event

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

Version Information
 Version Added:  Outlook 2007

Syntax

expression.ViewContextMenuDisplay(CommandBar, View)

expression   An expression that returns an Application object.

Parameters

NameRequired/OptionalData TypeDescription
CommandBarRequiredCommandBarThe context menu to be displayed.
ViewRequiredViewThe view for which the context menu is to be displayed.

Remarks

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

You can use the View object to obtain more information about the context in which the context menu is to be displayed.




Community Additions

Show:
© 2014 Microsoft