InkSystemGesture enumeration

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
} InkSystemGesture;

Constants

ISG_Tap

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

A double-click of the left mouse button. This can be used to select a word or open a file or folder.

ISG_RightTap

A click of the right mouse button. This can be used to show a shortcut menu.

ISG_Drag

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

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

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

Not implemented.

ISG_HoverEnter

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

A mouse leaving a pause. This can be used to end ToolTip roll-over effects or other mouse pausing behaviors.

ISG_Flick

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

Minimum supported client

Windows XP Tablet PC Edition [desktop apps only]

Minimum supported server

None supported

Header

Msinkaut.h (also requires Msinkaut_i.c)

See also

SystemGesture Event [InkCollector Class]
SystemGesture Event [InkPicture Control]
GetHotPoint Method
InkCollector Class
InkOverlay Class
InkPicture Control Reference
Using Gestures

 

 

Show: