Share via


Overview

Windows 7 gives users the ability to manage applications with the touch of their fingers, using no intermediate device. This expands the stylus-based capabilities of tablet PCs. Unlike other pointing devices, this new capability allows multiple input events at the same time from different pointing locations, and it enables complex scenarios, such as managing applications with ten fingers or with multiple simultaneous users. However, to pull this off, we have to adapt our application's user interface and behavior to support this new input model.

In this Hands-On Lab (HOL), you will upgrade a simple mouse-based picture manipulation application to a modern multi-touch-enabled application that mimics Microsoft Surface behavior.

Figure 1

Multi-touch-enabled application

Objectives

In this Hands-On Lab, you will learn how to manage multi-touch events, including:

  • Understanding the implications of manipulating multiple objects simultaneously
  • Checking for multi-touch hardware existence and readiness
  • Enabling multi-touch events in WPF 3.5SP1
  • Consuming multi-touch events via the built-in WPF stylus events
  • Using manipulation and inertia processors

Setup

For convenience, much of the code you will be managing along this hands-on lab is available as Visual Studio code snippets. The setup needed for this lab consist on installing these snippets. To do this:

  1. Run the MultiTouchLab.vsi installer located under the lab's Setup folder.
  2. Follow the wizard instructions to install the snippets.

System Requirements

You must have the following items to complete this lab: