UI_EXECUTIONVERB enumeration

Specifies values that identify the execution IDs that map to actions a user can initiate on a Command.

Syntax


typedef enum UI_EXECUTIONVERB { 
  UI_EXECUTIONVERB_EXECUTE        = 0,
  UI_EXECUTIONVERB_PREVIEW        = 1,
  UI_EXECUTIONVERB_CANCELPREVIEW  = 2
} UI_EXECUTIONVERB;

Constants

UI_EXECUTIONVERB_EXECUTE

Execute a command.

UI_EXECUTIONVERB_PREVIEW

Show a preview of a visual element.

UI_EXECUTIONVERB_CANCELPREVIEW

Cancel a preview of a visual element.

Remarks

In the Ribbon framework, user actions are called executions.

For example, if a user hovers the mouse over a gallery item, UI_EXECUTIONVERB_PREVIEW is passed in a call to the IUICommandHandler::Execute function of the gallery to indicate that a live preview event occurred on the item. If the user clicks the gallery item, UI_EXECUTIONVERB_EXECUTE is passed in a subsequent call to the IUICommandHandler::Execute function to indicate that the item was executed.

Requirements

Minimum supported client

Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]

Header

Uiribbon.h

IDL

Uiribbon.idl

See also

Constants and Enumerations
Understanding Commands and Controls
Working with Galleries

 

 

Community Additions

ADD
Show:
© 2014 Microsoft