Share via


Gesture Recognizer Session (Compact 2013)

3/26/2014

A gesture session is the period between the user placing a finger or stylus on the touch screen and lifting it off again when the gesture is complete. When a gesture session starts, a WM_GESTURE message is sent to the target window with wParam set to GID_BEGIN; when it ends, a WM_GESTURE message is sent to the target window with wParam set to GID_END. Within the session, there will be one or more distinct gestures. For example, a select gesture is one gesture session, and a hold followed by a pan, which concludes with a flick, is one gesture session.

The topics in this section describe what occurs in the built-in recognizer during a session.

In This Section

See Also

Concepts

Gesture Recognition