UI_EXECUTIONVERB enumeration (uiribbon.h)

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,
  UI_EXECUTIONVERB_PREVIEW,
  UI_EXECUTIONVERB_CANCELPREVIEW
} ;

Constants

Name Description
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

See also

Constants and Enumerations

Understanding Commands and Controls

Working with Galleries