OlActionShowOn Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies where an Action is displayed as an available action.
public enum class OlActionShowOn
public enum OlActionShowOn
Public Enum OlActionShowOn
- Inheritance
-
OlActionShowOn
Fields
Name | Value | Description |
---|---|---|
olDontShow | 0 | Indicates that the Action will not be displayed on the menu or toolbar. |
olMenu | 1 | Indicates that the Action will be displayed as an available action on the menu. |
olMenuAndToolbar | 2 | Indicates that the Action will be displayed as an available action on the menu and the toolbar. |
Remarks
Displaying an action on a toolbar is only supported in versions of Outlook without the Microsoft Office Fluent ribbon, before Microsoft Office Outlook 2007.In versions of Outlook that contains the ribbon, custom actions are displayed only on the Custom Actions menu on the ribbon for an inspector, and on the context menu of an item.