Partager via


Gesture Messages (Compact 2013)

3/28/2014

When the user touches the screen, the touch screen driver recognizes a touch event and passes an array of touch points to the gesture engine. The gesture engine then passes the aray of touch points to each registered gesture recognizer. When a recognizer identifies a gesture, it adds the gesture event into the same message queue that receives the touch events.

The gesture engine always delivers gesture events before any final finger-up event so that the window procedure can process the gesture by calling the GetGestureInfo function and by canceling any action planned for the finger-up touch event.

The following table shows the messages that support direct manipulation and gestures.

In This Section

  • WM_GESTURE
    The gesture engine sends this message to a window when a touch gesture occurs or is in progress.
  • WM_GESTUREANIMATIONSTATUS
    This message is sent to the window procedure of the affected control when a window is about to start or end an animation in response to a particular touch gesture.

Requirements

Header

winuser.h

sysgen

SYSGEN_TOUCHGESTURE

See Also

Reference

Gesture Reference