Compartilhar via


TouchType (Compact 2013)

3/26/2014

This enumeration specifies a touch screen type.

Syntax

typedef enum {
  TOUCHTYPE_NOTOUCH        = 0,
  TOUCHTYPE_SINGLETOUCH    = 1,
  TOUCHTYPE_SYMMETRICTOUCH = 2,
  TOUCHTYPE_MULTITOUCH     = 3,
} TouchType;

Elements

  • TOUCHTYPE_NOTOUCH
    There is no touch screen.
  • TOUCHTYPE_SINGLETOUCH
    The touch screen is a single-touch screen. It detects one touch at a time and provides its location.
  • TOUCHTYPE_SYMMETRICTOUCH
    The touch screen is a symmetric multi-touch screen. It can detect more than one touch and provide the x and y values for the locations; however, for more than one touch it cannot associate the x values with the corresponding y values.
  • TOUCHTYPE_MULTITOUCH
    The touch screen is a true multi-touch screen. It can detect more than one touch and provide correct (x,y) locations for the touches.

Remarks

For more information about touch screen types, see Types of Touch Panels. One of the members of the TPDC_DEVICE_TYPE structure is a TouchType enumeration. The TouchPanelGetDeviceCaps function returns this structure to provide the caller the type of the touch screen.

Requirements

Header

tchstream.h

See Also

Reference

Touch Driver Enumerations