次の方法で共有


Gesture Applications (Compact 2013)

3/26/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 2013 built-in gesture recognizer.
  • Get Gesture Information
    Describes how an application retrieves gesture information when there is a gesture event.

See Also

Concepts

Touch and Gesture