InkSystemGesture enumeration (msinkaut.h)
Specifies the interest in a set of operating system-specific gestures.
Syntax
typedef enum InkSystemGesture {
ISG_Tap = 0x10,
ISG_DoubleTap = 0x11,
ISG_RightTap = 0x12,
ISG_Drag = 0x13,
ISG_RightDrag = 0x14,
ISG_HoldEnter = 0x15,
ISG_HoldLeave = 0x16,
ISG_HoverEnter = 0x17,
ISG_HoverLeave = 0x18,
ISG_Flick = 0x1f
} ;
Constants
ISG_Tap Value: 0x10 A click of the left mouse button. This can be used to choose a command from the menu or toolbar, take action if a command is chosen, set an insertion point (IP), or show selection feedback. |
ISG_DoubleTap Value: 0x11 A double-click of the left mouse button. This can be used to select a word or open a file or folder. |
ISG_RightTap Value: 0x12 A click of the right mouse button. This can be used to show a shortcut menu. |
ISG_Drag Value: 0x13 A drag of the mouse while pressing the left mouse button. This can be used to drag-select (such as in Microsoft Word when starting with an IP), select multiple words, drag (such as when dragging an object in Microsoft Windows), or scroll. |
ISG_RightDrag Value: 0x14 A press and hold followed by a stroke, which maps to a right drag of a mouse. This can be used to drag (such as when dragging an object or selection followed by a shortcut menu). |
ISG_HoldEnter Value: 0x15 A press and hold of the left mouse button that lasts for a long time, which has no mouse equivalent. This is a fallback for when a user continues a press-and-hold action for a long time and the event reverts to a Tap. |
ISG_HoldLeave Value: 0x16 Not implemented. |
ISG_HoverEnter Value: 0x17 A pause of the mouse on an object. This can be used to show a ToolTip, roll-over effects, or other mouse pausing behaviors. |
ISG_HoverLeave Value: 0x18 A mouse leaving a pause. This can be used to end ToolTip roll-over effects or other mouse pausing behaviors. |
ISG_Flick Value: 0x1f A flick gesture. |
Remarks
The flick gesture is recognized in Windows Vista and later versions of Windows.
The Windows Vista and Tablet PC operating systems support these gestures by default. When any of these gestures are recognized, the SystemGesture event fires automatically. Many of these gestures map to traditional mouse events. For instance, the Tap system gesture mimics a click of the left mouse button.
A system gesture is separate from an application gesture. Application gestures are defined in the InkApplicationGesture enumeration type.
For more information about system gestures, see Using Gestures.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server | None supported |
Header | msinkaut.h |