Share via


Touch Messages (Compact 2013)

3/28/2014

The following table shows the messages that support direct manipulation and gestures, with a description of the purpose of each.

Many of these messages are shared with the mouse, since stylus interaction is interpreted as a left mouse click.

The icon messages are mostly shared with GWES.

In This Section

  • WM_GETICON
    This message is sent to a window to retrieve the handle of the big or small icon associated with a window.
  • WM_LBUTTONDBLCLK
    This message is posted when the user double-taps the touch screen with the stylus in the client area of a window.
  • WM_LBUTTONDOWN
    This message is posted when the user presses the touch screen in the client area of a window.
  • WM_LBUTTONUP
    This message is posted when the user releases the stylus from the touch screen in the client area of a window.
  • WM_MOUSEMOVE
    This message is posted to a window when the user moves the stylus while the tip is down.
  • WM_SETCURSOR
    This message is sent to a window if the stylus causes the cursor to move within a window and the stylus input is not captured.
  • WM_SETICON
    This message is sent by an application to associate a new big or small icon with a window.

See Also

Reference

Touch Reference