Share via


Gesture Applications (Compact 7)

3/12/2014

To make an application respond to gestures, you can either program the application to handle gestures itself, or you can let the default gesture handler (AutoGesture) handle the gestures. To use AutoGesture, you must build it into your OS run-time image by setting a Sysgen variable. For more information, see Sysgen Variables for Gesture.

An application that handles its own gestures receives WM_GESTURE windows messages that notify it of gesture events. GWES generates a WM_GESTURE message when a gesture recognizer notifies GWES of a gesture event. The application must handle the gesture event in an appropriate way. If the gesture causes something on the screen to move, the application can use the physics engine to calculate positions.

In This Section

  • Types of Gestures
    Describes the types of gestures provided by the Compact 7 built-in gesture recognizer.

See Also

Concepts

Touch and Gesture