Stylus Input

In many Windows CE environments, users interact with applications by using a stylus and a screen, rather than a mouse. The stylus and screen provide a direct and intuitive alternative to mouse interaction.

The stylus generates an input event whenever the user touches the screen with a stylus or moves the stylus when the tip is touching the screen. To an application, stylus input is a subset of mouse input. When a user presses and releases a stylus on a screen, the application processes these events as left-button mouse clicks. When a user moves the stylus across the screen, the application processes this as a mouse move event.

Stylus input events in a window are posted to the message queue of the thread that created the window.