Microsoft KB Archive/328953

= Building Tablet PC Applications Comments and Corrections =

Article ID: 328953

Article Last Modified on 3/13/2003

-

APPLIES TO


 * MSPRESS Building Tablet PC Applications, ISBN 0-7356-1723-6

-



This article was previously published under Q328953



SUMMARY
This article contains comments, corrections, and information about known errors relating to the Microsoft Press book Building Tablet PC Applications, ISBN 0-7356-1723-6.

The following topics are covered:


 * Cover: Incorrect System Requirements
 * Page 158: Incorrect Code In TopOfPenErase.cs Sample
 * Page 158: Incorrect Code In TopOfPenErase.cs Sample
 * Page 159: Incorrect Text
 * Page 159: Incorrect Text



Cover: Incorrect System Requirements
The system requirements on the cover of this book do not include Windows 2000 Service Pack 3.

Change:

&quot;Microsoft Windows 2000 with Service Pack 2 (see note below)&quot;

To:

&quot;Microsoft Windows 2000 with Service Pack 2 or later (see note below)&quot;

Page 158: Incorrect Code In TopOfPenErase.cs Sample
There is an error at the top of the TopOfPenErase.cs code sample on page 158.

Change the &quot;// Install handler for cursor&quot; section to:

// Install handler for cursor in range so we can detect when // the eraser tip or ink tip is used. inkOverlay.NewInAirPackets += new InkCollectorNewInAirPacketsEventHandler( inkOverlay_NewInAirPackets);

Page 158: Incorrect Code In TopOfPenErase.cs Sample
There is an error at the bottom of the TopOfPenErase.cs code sample on page 158.

Change the &quot;// Handle new packet events from inkOverlay&quot; section to:

// Handle new packet events from inkOverlay private void inkOverlay_NewInAirPackets(object sender, InkCollectorNewInAirPacketsEventArgs e) { if (e.Cursor.Inverted)

Page 159: Incorrect Text
There is an error in the text at the bottom of page 159. Change the first sentence of the first paragraph under the code sample to:

&quot;The example differs only slightly from the original - a member variable modeSaved and an event handler for NewInAirPackets are added. The inkOverlay_NewInAirPackets event handler switches to Delete mode ...&quot;

Page 159: Incorrect Text
There is an error in the text at the bottom of page 159. Change the entire last paragraph under the code sample to:

&quot;Notice how the modeSaved member is also updated in cbxEditMode_SelIndexChg. This is done to avoid a bug - the accidental reverting to modeSaved's value if the eraser tip is used to switch modes (for instance, while in Ink mode the pen is inverted and the eraser tip used to switch into Edit mode). If this occurs and modeSaved is not updated, the next usage of the pen's ink tip will result in the incorrect mode being reverted to.&quot;

Microsoft Press is committed to providing informative and accurate books. All comments and corrections listed above are ready for inclusion in future printings of this book. If you have a later printing of this book, it may already contain most or all of the above corrections.

Additional query words: 0-7356-1723-6

Keywords: kbinfo kbdocfix kbdocerr KB328953

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.