O'Reilly logo

Programming Windows®, Six Edition by Charles Petzold

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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, ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required