Pages

miercuri, 28 noiembrie 2012

Source code from Windows 7 and 8: WM_GESTURE , WM_TOUCH , WM_POINTER

This a good news for the developers , Microsoft share source code to make available Touch feature in Windows desktop.

This sample demonstrates how to integrate touch into an application designed for a typical keyboard/mouse paradigm. Functionality has been added for many estures, showing how to map touch interactions to typical mouse interactions along with adding new gesture-only behavior such as two-finger rotate to rotate the truck and two-finger tap to reset it. The sample uses the Windows 7 WM_GESTURE API to provide the touch support and is supported on Windows 7 and Windows 8 with and without a touch screen.

You can get source code and demo to try it.