Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Specifies the interaction states used for configuring an Interaction Context object. Interactions can be static (single contact with no manipulation, such as tap, double tap, right tap, press and hold) or dynamic (one or more contacts with manipulation, such as translation, rotation, or scaling).
Syntax
typedef enum INTERACTION_ID {
INTERACTION_ID_NONE = 0x00000000,
INTERACTION_ID_MANIPULATION = 0x00000001,
INTERACTION_ID_TAP = 0x00000002,
INTERACTION_ID_SECONDARY_TAP = 0x00000003,
INTERACTION_ID_HOLD = 0x00000004,
INTERACTION_ID_DRAG = 0x00000005,
INTERACTION_ID_CROSS_SLIDE = 0x00000006,
INTERACTION_ID_MAX = 0xffffffff
} ;
Constants
INTERACTION_ID_NONEValue: 0x00000000 Not used. |
INTERACTION_ID_MANIPULATIONValue: 0x00000001 A compound gesture that supports translation, rotation, and scaling (dynamic). |
INTERACTION_ID_TAPValue: 0x00000002 A tap gesture (static). |
INTERACTION_ID_SECONDARY_TAPValue: 0x00000003 A right click gesture (static), regardless of input device. Typically used for displaying a context menu.
|
INTERACTION_ID_HOLDValue: 0x00000004 Press and hold gesture (static). |
INTERACTION_ID_DRAGValue: 0x00000005 Move with mouse or pen (dynamic). |
INTERACTION_ID_CROSS_SLIDEValue: 0x00000006 Select or move through slide or swipe gestures (dynamic). |
INTERACTION_ID_MAXValue: 0xffffffff Maximum number of interactions exceeded. |
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 8 [desktop apps only] |
| Minimum supported server | Windows Server 2012 [desktop apps only] |
| Header | interactioncontext.h |