Share via


enumTouchPanelSampleFlags (Windows CE 5.0)

Send Feedback

This enumeration specifies information about a given touch sample sent to the input system. The values are stored in TOUCH_PANEL_SAMPLE_FLAGS.

enum enumTouchPanelSampleFlags {TouchSampleValidFlag = 0x01,TouchSampleDownFlag = 0x02,TouchSampleIsCalibratedFlag = 0x04,TouchSamplePreviousDownFlag = 0x08,TouchSampleIgnore = 0x10,TouchSampleMouse = 0x40000000};

Elements

  • TouchSampleValidFlag
    Indicator for a valid reading. The driver can report an invalid reading to the input system, which is ignored. Minimize the ignored readings.
  • TouchSampleDownFlag
    State of finger or stylus. When the finger or stylus is pressed to the touch screen, the driver reports readings with both the TouchSampleValidFlag and TouchSampleDownFlag flags set. When the user removes the stylus or finger from the touch screen, the driver is required to send back at least one reading with the TouchSampleValidFlag flag set but the TouchSampleDownFlag flag cleared to indicate that the stylus or finger is up.
  • TouchSampleIsCalibratedFlag
    Indicator for the input system. This flag is set by the driver to notify the input system that it is not necessary to further calibrate the x and y coordinates of the sample.
  • TouchSamplePreviousDownFlag
    State from the previous valid sample. It is not necessary for the driver to report this to the input system but it is useful in the driver itself.
  • TouchSampleIgnore
    Flag to ignore the sample.
  • TouchSampleMouse
    Reserved.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Tchddi.h.

See Also

TOUCH_PANEL_SAMPLE_FLAGS

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.