Touch Messages (Windows Embedded CE 6.0)
1/6/2010
The following table shows the stylus messages, 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_CAPTURECHANGED
This message is sent to the window losing the capture.
- 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 one of the following condition occurs:- The user double–taps the touch screen while the stylus is pressed to the touch screen in the client area of a window.
- The user double–clicks the mouse while the cursor is located within 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 or presses the left mouse button while the cursor is located within the client area of a window.
- WM_LBUTTONUP
This message is posted when the user releases the stylus from the touch screen while the stylus is pressed to the touch screen in the client area of a window or when the user releases the left mouse button while the cursor is located within the client area of a window.
- WM_MOUSEMOVE
This message is posted to a window when user moves the mouse while pressing the left mouse button or moves the stylus while the tip is down.
- WM_SETCURSOR
This message is sent to a window if the mouse causes the cursor to move within a window and mouse input is not captured.
- WM_SETICON
This message is sent by an application to associate a new big or small icon with a window.
Related Sections
- Touch Reference
Provides an overview of the touch screen programming elements available for Windows Embedded CE.