UI_EVENTTYPE enumeration

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
} UI_EVENTTYPE;

Constants

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
UI_EVENTLOCATION
OnUIEvent

 

 

Community Additions

ADD
Show: