Errata

Building Tablet PC Applications

Errata for Building Tablet PC Applications

The errata list is a list of errors and their corrections that were found after the product was released. If the error was corrected in a later version or reprint the date of the correction will be displayed in the column titled "Date Corrected".

The following errata were submitted by our customers and approved as valid errors by the author or editor.

Color key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted By Date submitted Date corrected
Printed
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 "// Install handler for cursor" 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);

Microsoft Press  Jul 13, 2010 
Printed
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:"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 ..."

Microsoft Press  Jul 13, 2010 
Printed
Page Cover

Incorrect System Requirements The system requirements on the cover of this book do not include Windows 2000 Service Pack 3. Change: "Microsoft Windows 2000 with Service Pack 2 (see note below)" To: "Microsoft Windows 2000 with Service Pack 2 or later (see note below)"

Microsoft Press  May 06, 2010 
Printed
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 "// Handle new packet events from inkOverlay" section to: // Handle new packet events from inkOverlay private void inkOverlay_NewInAirPackets(object sender, InkCollectorNewInAirPacketsEventArgs e) { if (e.Cursor.Inverted)

Microsoft Press  May 06, 2010 
Printed
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:"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." 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.

Microsoft Press  May 06, 2010