Building Tablet PC Applications
ROB JARRETT
Tablet PC 开发,有需要PDF的留下邮箱
目录This text was added by using code.Building Tablet PC Applications......................................1ROB JARRETT ...............................................................................................................1PHILIP SU......................................................................................................................1Chapter 3. Introduction to the Tablet PC Platform SDK.....................................................9A Sort of Homecoming .............................................................................................................10Finding the Right Operating System for the Job.......................................................17Managed APIs .....................................................................................................................18Ink Controls .........................................................................................................................20COM Automation APIs ......................................................................................................21Sample Applications .........................................................................................................23Installing the Tablet PC Platform SDK..................................................................................26System Requirements.......................................................................................................27Getting the SDK..................................................................................................................28Setting Up Your Environment.........................................................................................29SETTING UP YOUR VISUAL STUDIO .NET ENVIRONMENT ..............31NOTE .............................................................................................................................31Anatomy of the Tablet PC Platform SDK .....................................................................37NOTE .............................................................................................................................37Overview of the Managed API.................................................................................................40All That You Can’t Leave Behind ...................................................................................45Design Goals of the API ...................................................................................................46THE PRIME DIRECTIVE .......................................................................................49WHAT’S COVERED BY THE MANAGED API..............................................49WHAT’S NOT COVERED BY THE MANAGED API ...................................52NOTE .............................................................................................................................54Managed API Object Survey............................................................................................58TABLET INPUT API................................................................................................59Ink Data Management API................................................................................................64Ink Recognition API...........................................................................................................67Ink Control Comparison with Managed API ........................................................................70Welcome to the Great Adventure...........................................................................................74Chapter 4. Tablet PC Platform SDK: Tablet Input..............................................................75Sample Applications .................................................................................................................76Capturing Input from the Pen .................................................................................................77NOTE .............................................................................................................................77Requirement #1—Mouse Emulation..............................................................................78NOTE .............................................................................................................................78Requirement #2—Digital Ink............................................................................................79Requirement #3—Pen-Based Actions ..........................................................................813 / 891NOTE .............................................................................................................................82Summing Up the Requirements .....................................................................................83.Anatomy of the Tablet PC’s Tablet Input Subsystem......................................................83Tablet Hardware..................................................................................................................85NOTE .............................................................................................................................86Chock-full of HID-y Goodness ........................................................................................86NOTE .............................................................................................................................87The Center of the TIS Universe: Wisptis.exe ..............................................................88NOTE .............................................................................................................................89GETTING INPUT FROM THE DRIVER............................................................90PERFORMING MOUSE EMULATION ..............................................................91DETECTING PEN-BASED ACTIONS ..............................................................96NOTE .............................................................................................................................97DISPATCHING EVENTS .......................................................................................98MAKING SENSE OF IT ALL .............................................................................101Winlogon Desktop Support ...........................................................................................103What About Ink?...............................................................................................................104Platform SDK Support for Tablet Input ..............................................................................104Getting Ink from a Tablet................................................................................................105SAY HELLO TO THE INKCOLLECTOR .......................................................105NOTE ...........................................................................................................................106SAMPLE APPLICATION: "HELLOINKCOLLECTOR"............................106NOTE ...........................................................................................................................110When Ink Is Not Enough.................................................................................................111NOTE ...........................................................................................................................112SAMPLE APPLICATION: HELLOINKOVERLAY ......................................113CHANGING THE ERASER MODE ..................................................................122THE INKCONTROL CLASS INTHE BUILDINGTABLETAPPS LIBRARY ....................................................123INKOVERLAY’S ATTACH MODE ...................................................................124NOTE ...........................................................................................................................126NOTE ...........................................................................................................................127InkCollector Events .........................................................................................................127NOTE ...........................................................................................................................128INK STROKE EVENTS ........................................................................................129PEN MOVEMENT EVENTS ................................................................................130NOTE ...........................................................................................................................135MOUSE TRIGGER EVENTS ..............................................................................135TABLET HARDWARE EVENTS .......................................................................137NOTE ...........................................................................................................................137RENDERING EVENTS (INKOVERLAY ONLY) ..........................................138INK EDITING EVENTS (INKOVERLAY ONLY) .........................................139SAMPLE APPLICATION: INPUTWATCHER ..............................................143ANALYZING THE EVENTS................................................................................1664 / 891TIP ................................................................................................................................170InkOverlay Events............................................................................................................173Specifying the Tablet Data to Capture—Packet Properties ..................................174TIP ................................................................................................................................175SAMPLE APPLICATION: PACKETPROPERTYWATCHER .................180TIP ................................................................................................................................180INK COORDINATES .............................................................................................198Extending InkOverlay Behaviors .................................................................................198Sample Application: TopOfPenErase .........................................................................200Sample Application: ModelessSwitch ........................................................................207Getting Introspective...............................................................................................................213Tablets Collection ............................................................................................................214Tablet Class .......................................................................................................................215SAMPLE APPLICATION: DEVICEWALKER ..............................................218Common Properties on InkCollector and InkOverlay.............................................227Best Practices for InkCollector and InkOverlay...............................................................232NewPackets and NewInAirPackets Events................................................................232Choosing Desired Packet Properties..........................................................................233Gesture Recognition .......................................................................................................233Mouse Events....................................................................................................................234Summary ....................................................................................................................................235Chapter 5. Tablet PC Platform SDK: Ink Data Management, Part I .............................236Ink
转载于:https://www.cnblogs.com/nightnine/p/6652273.html
相关资源:各显卡算力对照表!