'Declaration Public Event GestureQueryStatus As GestureQueryStatusHandler
public event GestureQueryStatusHandler GestureQueryStatus
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.
Property | Description |
---|---|
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. |
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)
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