nick@vaila.cs.ed.ac.uk (Nick Rothwell) (09/26/90)
... just starting out on this OOP stuff. Quite nice, on the whole, but the TCL is no walk in the park. A couple of gotchas: Inside a CPane::Draw(), don't call methods to do any kinds of graphics in other windows; you'll screw up the CPane and possibly the enclosing pane(s), in rather strange ways; or it may work sporadically. Took me a day to figure this out; fairly obvious in retrospect, but TransSkel didn't have any problems with this... Documentation: It says in the manual that your CDocument Dispose() method is responsible for disposing of itsMainPane. I think this is wrong. As far as I can tell, CDocument::Dispose() correctly blows away the document, the director, the window, and all the sub-views. Is anyone keeping track of any bugs and/or misfeatures of the TCL? I haven't found any bugs yet, but it would be nice to know (I'm using 4.0.2). Nick Rothwell, Laboratory for Foundations of Computer Science, Edinburgh. nick@lfcs.ed.ac.uk <Atlantic Ocean>!mcsun!ukc!lfcs!nick ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ ~~ "Now remember - and this is most important - you must think in Russian."