UI_EVENTTYPE enumeration (uiribbon.h)

Identifies the types of events associated with a Ribbon.

Syntax

typedef enum UI_EVENTTYPE {
  UI_EVENTTYPE_ApplicationMenuOpened,
  UI_EVENTTYPE_RibbonMinimized,
  UI_EVENTTYPE_RibbonExpanded,
  UI_EVENTTYPE_ApplicationModeSwitched,
  UI_EVENTTYPE_TabActivated,
  UI_EVENTTYPE_MenuOpened,
  UI_EVENTTYPE_CommandExecuted,
  UI_EVENTTYPE_TooltipShown
} ;

Constants

Name Description
UI_EVENTTYPE_ApplicationMenuOpened The ApplicationMenu opened.
UI_EVENTTYPE_RibbonMinimized The Ribbon minimized.
UI_EVENTTYPE_RibbonExpanded The Ribbon expanded.
UI_EVENTTYPE_ApplicationModeSwitched The application mode changed.
UI_EVENTTYPE_TabActivated A Tab activated.
UI_EVENTTYPE_MenuOpened A menu opened.
UI_EVENTTYPE_CommandExecuted A Command executed.
UI_EVENTTYPE_TooltipShown 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

   
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Header uiribbon.h

See also

Constants and Enumerations

OnUIEvent

UI_EVENTLOCATION