Abstract
This sample application shows how to implement support for touch input in a desktop application. It uses the Windows* 7 touch APIs and was built in Visual Studio* 10. Due to the backwards compatibility of the desktop environment in Windows* 8, the touch features of this app will still function correctly when an executable is run on a Windows* 8 desktop. The application is written in C++ and draws a basic rectangle on the display. It shows how to handle various touch gestures and how to process their data and modify the rectangle with this data. This basic application should be helpful to developers who are looking for an example of how to effectively use the Windows* 7 C++ touch APIs to handle touch events in a desktop application that can run on Windows* 8.
Download Source Code
touchfordesktop.zip
Related Articles
Touch Samples
License
Intel sample sources are provided to users under the Intel Sample Source Code License Agreement.
![]() |
About the Author |

