InkSystemGesture Enumeration
InkSystemGesture Enumeration |
Defines values that set the interest in a set of operating system-specific gestures.
The Tablet PC operating system supports 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 single left-click on a mouse.
System gestures are separate from application gestures. Application gestures are defined in the InkApplicationGesture enumeration type.
For more information about system gestures, see Making Windows Work with a Pen.
Declaration
[C++]
typedef enum InkSystemGesture {
ISG_Tap = 0x10,
ISG_DoubleTap = 0x11,
ISG_RightTap = 0x12,
ISG_Drag = 0x13,
ISG_RightDrag = 0x14,
ISG_HoldEnter = 0x15,
ISD_HoldLeave = 0x16,
ISG_HoverEnter = 0x17,
ISG_HoverLeave = 0x18
} InkSystemGesture;
[Microsoft® Visual Basic® 6.0]
Enum InkSystemGesture
ISG_Tap = &H10
ISG_DoubleTap = &H11
ISG_RightTap = &H12
ISG_Drag = &H13
ISG_RightDrag = &H14
ISG_HoldEnter = &H15
ISG_HoldLeave = &H16
ISG_HoverEnter = &H17
ISG_HoverLeave = &H18
End Enum
Members
Name | Description |
---|---|
Tap | Maps to a left-click on a mouse. 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. |
DoubleTap | Maps to a double-click on a mouse. This can be used to select a word or open a file or folder. |
RightTap | Maps to a right-click on a mouse. This can be used to show a shortcut menu. |
Drag | Maps to a left drag on a mouse. 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. |
RightDrag | Specifies a press and hold followed by a stroke, which maps to a right drag on a mouse. This can be used to drag (such as when dragging an object or selection followed by a shortcut menu). |
HoldEnter | Specifies a left click 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. |
HoldLeave | Not implemented. |
HoverEnter | Maps to a mouse hover. This can be used to show a ToolTip, roll-over effects, or other mouse hover behaviors. |
HoverLeave | Maps to a mouse leaving a hover. This can be used to end ToolTip roll-over effects or other mouse hover behaviors. |