Chapter 13. Touch, Etc.

One of the most forward-looking aspects of the Windows Runtime is the consolidation of touch, mouse, and pen input. No longer is it necessary to add touch to an existing mouse-oriented application, or add some mouse support to a touch application. From the very beginning, the programmer treats all these forms of input in a fairly interchangeable manner. In accordance with the Windows Runtime programming interface, I will be using the word pointer to refer to input from touch, mouse, and the pen (also known as the stylus) when it’s not necessary to distinguish the actual input device.

The best way to handle pointer input is through the existing Windows Runtime controls. As you’ve seen, standard controls such as Button, Slider, ...

Get Programming Windows®, Six Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.