Wrox Programmer Forums
|
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
 
Old July 24th, 2006, 02:12 PM
Authorized User
 
Join Date: May 2006
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Default Masked Elements; Page 815; Ch 15

A couple of items with respect to 'Dealing with Masked Elements'

a) First paragraph on page 815; 3rd line.
'Select the Messages toolbar button in the Properties window for the class and double-click the message ID ID_ELEMENT_SENDTOBACK.'
Should be:
'Select the Events toolbar button in the Properties window for the class and double-click the message ID ID_ELEMENT_SENDTOBACK.'



b) In addition to code shown, for SketcherDoc.cpp, an extra line is needed in the SketcherDoc.h
After :
.
.
.
POSITION GetListHeadPosition() // return list head POSITION value
      { return m_ElementList.GetHeadPosition(); }
CElement* GetNext(POSITION& aPos) // Return current element pointer
      { return m_ElementList.GetNext(aPos); }

Add:

void SendToBack(CElement* pElement); // Move an element to the back in the Z-order









Similar Threads
Thread Thread Starter Forum Replies Last Post
CH 15: Highlighting Elements Razzy The Pug BOOK: Ivor Horton's Beginning Visual C++ 2005 1 November 9th, 2008 09:39 PM
Ch 15 - Security aspcoder BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 7 May 3rd, 2008 02:55 PM
Ch. 15 Add'l Code? gekkster99999 BOOK: Beginning ASP 3.0 0 February 1st, 2004 10:55 PM
CH.15 NEED HELP stacy BOOK: Beginning ASP 3.0 1 January 21st, 2004 03:37 AM





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