WM_GESTUREANIMATIONSTATUS (Compact 2013)
3/28/2014
The WM_GESTUREANIMATIONSTATUS 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.
WM_GESTUREANIMATIONSTATUS
WPARAM wParam
LPARAM lParam
wParam
Specifies one of the following values:- GAST_ANIMATION_STARTED. An animation has started.
- GAST_ANIMATION_STOPPED. An animation has stopped.
- GAST_ANIMATION_INTERRUPTED. An animation was interrupted before it completed.
lParam
This contains the X,Y system coordinates associated with the beginning or end of the gesture animation.LOWORD(lParam)
specifies the horizontal position of the touch contact, in screen coordinates, at the time of the stylus/finger down event.HIWORD(lParam)
specifies the vertical position of the touch contact, in screen coordinates, at the time of the stylus/finger down event.
None.
If the animation is not stopped by a stylus down event or a finger down event from the user, the x-coordinate is -1 and the y-coordinate is -1.
When the user performs touch gestures on certain controls, the controls change state. For example, in the Virtual ListView the flick gesture starts scrolling through the list as the finger is lifted off the touch surface. The scrolling list eventually comes to rest either due to an interruption from the user or by natural deceleration. The VirtualListView hides the focus and disables the Soft Keys and the Central Menu at the start of the scrolling animation, and sets the focus at the correct position and enable the Soft Keys and the Central Menu when it receives the scrolling animation end message.
Header |
winuser.h |