New Win32 Samples in Windows SDK for Windows 7: Tablet PC and MultiTouch
This is the sixth in a series of posts that describe new and updated samples in the Windows 7 SDK. The following table lists samples that pertain to Tablet PC and MultiTouch, and are new to Windows 7 or updated to support Windows 7.
New Win32 Samples in Windows SDK for Windows 7: Networking and Related Services
New Win32 Samples in Windows SDK for Windows 7: Multimedia
New Win32 Samples in Windows SDK for Windows 7: Security
New Win32 Samples in Windows SDK for Windows 7: Systems Management
New Win32 Samples in Windows SDK for Windows 7: Open Packaging Conventions (OPC)
New Win32 Samples in Windows SDK for Windows 7: Web
New Win32 Samples in Windows SDK for Windows 7: Windows Base
New Win32 Samples in Windows SDK for Windows 7: Windows User Interface
New Win32 Samples in Windows SDK for Windows 7: Windows XML Paper Specification (XPS)
New Win32 Samples in Windows SDK for Windows 7: Communication
Over 1,200 samples were changed since the release of the Windows SDK for Windows 7 RC release. Many “new to Win 7” samples were added, simplified, or extended, and many older samples were updated to support Windows 7 as well as older operating systems.
For build instructions and additional information about the samples, see the Readme.txt files and other documents in the SDK sample folders. For general sample building instructions, refer to the Samples Reference page that installs with the Windows SDK, and the SDK Release Notes (under the Start menu, in All Programs > Microsoft Windows SDK v7.0). By default, Win32 samples are installed under the following path: C:\Program Files\Microsoft SDKs\Windows\v7.0\Samples.
Send your thoughts to the Windows SDK Feedback alias. Tell us how you use the SDK and what we can do to improve your development experience.
New/updated Tablet PC and MultiTouch samples in the Windows SDK for Windows 7
TabletPC AdvReco C++
Demonstrates some of the more advanced recognition features, such as explicit recognizer choice and factoids.
LHPSDK: TabletPC AutoClaims Sample
Demonstrates using the InkEdit and InkPicture controls, including: * Initializing the form and ink layers. * Redrawing the InkPicture control. * Selecting an ink layer through the list box. * Changing the visibility of an ink layer.
TabletPC BasicRecognition C++
Demonstrates how to build a simple handwriting recognition application, by using the RecognizerContext class.
TabletPC EventSink C++
This program demonstrates how you can build an application that captures InkCollector events using only C++.
TabletPC InkClipboard C#
Demonstrates rendering ink, copying that ink, and pasting the ink to another application such as Microsoft Paint.
TabletPC InkCollection Sample
This application is based on the InkCollector object and demonstrates the collection of ink. The application creates a window, attaches a InkCollector object to it, and provides the user with menu choices that can be used to change the ink color, the ink width, and enable/disable ink collection.
TabletPC InkDivider C#
Demonstrates how to use the InkDivider to seperate multiple lines in a document, then get Text Recognition results using the RecognizerContext API.
TabletPC InkErase C#
Provides a Windows form application that demonstrates how to delete ink strokes. The form has a menu with four modes to choose from: ink-enabled, erasing at cusp, erasing at intersections, and erasing strokes.
TabletPC InkHitTest C#
Demonstrates how to test for ink within a hit region, specifically within a circle. When the circle touches the ink object, the circle turns red. In another mode, the program draws a line to show the nearest point from the ink object to the test point.
TabletPC InkRecognition Sample
This application demonstrates how you can build a handwriting recognition application using the Reco API's.
TabletPC InkZoom C#
This sample program demonstrates how to zoom and scroll ink. In particular, it enables the user to zoom in and out of ink in increments. It also demonstrates how to zoom into a particular region using a zoom rectangle. Finally, this sample Demonstrates how to collect ink at different zoom ratios and how to set up scrolling within the zoomed drawing area.
Tablet PC Math Input Control
demonstrates how you can create Math Input Control, set up events between main application and Math Input Control, recognize handwritten math inside the control and display recognition result inside the text box.
TabletPC MultiReco C++
Demonstrates advanced features for handwriting recognition, specifically enumerating the installed recognizers, creating a recognizer context with a specific language recognizer, serializing recognition results with a stroke collection, organizing stroke collections into a custom collection within the InkDisp object, serializing ink objects to and retrieving them from an ink serialized format (ISF) file, setting recognizer input guides, and using synchronous and asynchronous recognition.
Real Time Stylus Ink Collection
Demonstrates ink collection and rendering when using the RealTimeStylus class.
Real Time Stylus Plugin Sample
Demonstrates working with the RealTimeStylus class. Plug-ins, objects that implement the IStylusSyncPlugin or IStylusAsyncPlugin interface can be added to a RealTimeStylus object. This sample application uses several types of plug-in: Packet Filter Plug-in Custom Dynamic Renderer Plug-in Dynamic Renderer Plug-in Gesture Recognizer Plug-in
TabletPC RecoDLL C++
This sample contains a template for creating a handwriting recognizer DLL.
TabletPC ScannedPaperForm C#
Demonstrates the use of InkAnalysis in form applications, specifically, loading a scanned paper form, using an InkOverlay to gather and display Ink over the scanned form, using an InkAnalyzer to interpret handwriting results, generating AnalysisHintNodes to improve handwriting results, and populating TextBoxes from AnalysisHintNodes for a basic correction experience.
TabletPC Serialization C#
Demonstrates how to load and save Ink Serialized Format (ISF). Also demonstrates several other ways to serialize Ink, such as XML with base64 ISF or HTML with a fortified GIF.
Tablet: TIP Auto Complete Sample
Demonstrates the use of the ITipAutoCompleteProvider interface to allow the TIP to interact with an application’s autocomplete lists.
TabletPC TPCInfo C++
Demonstrates checks the presence and configuration of the Microsoft® Tablet PC Platform core components. It determines whether Tablet PC components are enabled in the operating system, and lists the names and version information for the core controls and default handwriting and speech recognizer. The application uses the GetSystemMetrics Windows API, passing in SM_TABLETPC, to determine whether the application running on a Tablet PC. SM_TABLETPC is defined in WinUser.h. Of particular interest is the way the application uses the Recognizers collection to provide information about the default recognizer. Before attempting to use the Recognizers collection and Recognizer object, the application tests for their successful creation.
Multi-touch Gestures Application (C++)
Demonstrates how to configure and handle multi-touch gesture messages in a Win32 application.
Multi-touch Gestures Application (C#)
Demonstrates how to configure and handle multi-touch gesture messages in a managed application.
Multi-touch Manipulation Application
Demonstrates how to setup and handle manipulation multi-touch events in a Win32 application.
Manipulations and Inertia API
Demonstrates how to add multitouch to unmanaged win32 applications using the Manipulation and Inertia API.
Multi-touch Scratchpad Application (RTS/C++)
Demonstrates how to enable and handle multi-touch events in a RealTimeStylus inking application.
Multi-touch Scratchpad Application (RTS/C#)
Multi-touch Scratchpad Application (WM_TOUCH/C++)
Demonstrates how to enable and handle multi-touch window messages in a Win32 application.
Multi-touch Scratchpad Application (WM_TOUCH/C#)
Demonstrates how to enable and handle multi-touch window messages in a managed application.
Program Manager for Samples
Windows SDK Team