UI_EVENTTYPE enumeration (uiribbon.h)
Identifies the types of events associated with a Ribbon.
Syntax
typedef enum UI_EVENTTYPE {
UI_EVENTTYPE_ApplicationMenuOpened = 0,
UI_EVENTTYPE_RibbonMinimized = 1,
UI_EVENTTYPE_RibbonExpanded = 2,
UI_EVENTTYPE_ApplicationModeSwitched = 3,
UI_EVENTTYPE_TabActivated = 4,
UI_EVENTTYPE_MenuOpened = 5,
UI_EVENTTYPE_CommandExecuted = 6,
UI_EVENTTYPE_TooltipShown = 7
} ;
Constants
UI_EVENTTYPE_ApplicationMenuOpened Value: 0 The ApplicationMenu opened. |
UI_EVENTTYPE_RibbonMinimized Value: 1 The Ribbon minimized. |
UI_EVENTTYPE_RibbonExpanded Value: 2 The Ribbon expanded. |
UI_EVENTTYPE_ApplicationModeSwitched Value: 3 The application mode changed. |
UI_EVENTTYPE_TabActivated Value: 4 A Tab activated. |
UI_EVENTTYPE_MenuOpened Value: 5 A menu opened. |
UI_EVENTTYPE_CommandExecuted Value: 6 A Command executed. |
UI_EVENTTYPE_TooltipShown Value: 7 A Command tooltip displayed. |
Remarks
UI_EVENTTYPE_TabActivated is fired for both core tabs and contextual tabs; the Ribbon event system does not distinguish between the two.
UI_EVENTTYPE_MenuOpened and UI_EVENTTYPE_MenuClosed are fired when either a regular menu or a gallery menu is opened or closed.
No event is fired when the QuickAccessToolbar menu is opened or closed.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps only] |
Minimum supported server | Windows Server 2012 [desktop apps only] |
Header | uiribbon.h |