Applies to: desktop apps only
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 |
|---|---|
|
Minimum supported server | Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 |
|
Header |
|
|
IDL |
|
See also
Send comments about this topic to Microsoft
Build date: 2/15/2012