Page 811; Ch15
'Getting the Elements to Move Themselves'
Last but one line of the code at end of the page has been entered incorrectly (-although it has not been identified as a change):
virtual void Draw(CDC* pDC, BOOL Select=FALSE){}
The code should be unchanged from when it was entered earlier, as shown on page 802;
i.e.
virtual void Draw(CDC* pDC, CElement* pElement = 0){}
|