Version

GestureQueryStatus Event

Fired when the user makes contact with a touch input digitizer.
Syntax
'Declaration
 
Public Event GestureQueryStatus As GestureQueryStatusHandler
public event GestureQueryStatusHandler GestureQueryStatus
Event Data

The event handler receives an argument of type GestureQueryStatusEventArgs containing data related to this event. The following GestureQueryStatusEventArgs properties provide information specific to this event.

PropertyDescription
Location Returns the location of the touch point which triggered this event, expressed in client coordinates.
Mode Returns or sets a value indicating which gestures will cause events to fire.
PressAndHoldDelay Returns or sets a value indicating the amount of time, in milliseconds, that the user must hold a touch point stationary in order to trigger the PressAndHoldGesture event.
Remarks

The GestureQueryStatus event is fired in response to the WM_TABLET_QUERYSYSTEMGESTURESTATUS message. This event allows the developer to specify which gesture-related events are to be fired.

This event also provides a way to control the timeout for the PressAndHoldGesture event (see PressAndHoldDelay)

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also