Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > BOOK: Ivor Horton's Beginning Visual C++ 2005
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old August 4th, 2006, 11: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;



Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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



All times are GMT -4. The time now is 01:04 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.