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.
- Get Gesture Information
Describes how an application gets gesture information when there is a gesture event.
- Process Gesture Messages
Describes how an application processes the various types of gesture messages.
- Physics Engine
Describes the physics engine and how to use it.
- Custom Gesture Recognition
Describes how the built-in gesture recognizer works, as an aid to customizing it.
- Tune Gestures Parameters
Describes how to tune gesture recognition performance by setting parameters.