Gesture Visualization

The following constants are used by applications or UI frameworks to identify how UI feedback is processed when one of the listed gestures is detected.

These constants are used with the SPI_GETGESTUREVISUALIZATION and SPI_SETGESTUREVISUALIZATION parameters and the SystemParametersInfo function.

Note

For retrieving or setting pen visualization info, we recommend that you use the SPI_GETPENVISUALIZATION and SPI_SETPENVISUALIZATION parameters and the constants listed in Pen Visualization.

GESTUREVISUALIZATION_OFF

0x0000

Specifies that UI feedback for all gestures is off.

GESTUREVISUALIZATION_ON

0x001F

Specifies that UI feedback for all gestures is on.

GESTUREVISUALIZATION_TAP

0x0001

Specifies UI feedback for a tap.

GESTUREVISUALIZATION_DOUBLETAP

0x0002

Specifies UI feedback for a double tap.

GESTUREVISUALIZATION_PRESSANDTAP

0x0004

Specifies UI feedback for a press and tap.

GESTUREVISUALIZATION_PRESSANDHOLD

0x0008

Specifies UI feedback for a press and hold.

GESTUREVISUALIZATION_RIGHTTAP

0x0010

Specifies UI feedback for a right tap.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps only]
Minimum supported server
Windows Server 2012 [desktop apps only]
Header
Winuser.h

See also

Configuration Constants

Contact Visualization

SystemParametersInfo

Input Feedback Configuration