Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Ivor Horton's Beginning Visual C++ 2005
This is the forum to discuss the Wrox book Ivor Horton's Beginning Visual C++ 2005 by Ivor Horton; ISBN: 9780764571978
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Ivor Horton's Beginning Visual C++ 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 4th, 2006, 10:13 AM
Authorized User
 
Join Date: May 2006
Location: Iver, Bucks., United Kingdom.
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Highlighted code; Page 1113, Ch 22

In the following places, on page 1113, the highlighting of changes is incomplete:

1) First block of code on page:
  As well as:
oldCellBackColor = highlightedCell->Style->BackColor;

the next line should be hightlighted
oldCellForeColor = highlightedCell->Style->ForeColor;


2) In same block of code:
  As well as:
hightLightedCell->Style->BackColor = Color::White;

the next line should be hightlighted
highlightedCell->Style->ForeColor = Color::Black;


3) In next block of code:
  As well as:
highlightedCell->Style->BackColor = oldCellBackColor;

the next line should be hightlighted
highlightedCell->Style->ForeColor = oldCellForeColor;


4) In the code at the bottom of the page:
  As well as:
// Check whether the cell is highlighted

the next two lines should be hightlighted
if(dataGridView->Rows[e->RowIndex]->Cells[e->ColumnIndex] == highlightedCell)
return;





Similar Threads
Thread Thread Starter Forum Replies Last Post
Beginning Javaservpages Exercise in Ch 22 I5commuter JSP Basics 1 June 12th, 2008 07:30 AM
Binding Navigator in Ch 22 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 August 4th, 2006 01:39 PM
SQL Express OK in Ch 22 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 August 4th, 2006 01:34 PM
After initial code; Page 1082; Ch 21 Nick Y BOOK: Ivor Horton's Beginning Visual C++ 2005 0 August 3rd, 2006 11:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.