home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / mac / programm / 21921 < prev    next >
Encoding:
Text File  |  1993-01-21  |  1.6 KB  |  35 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!cs.utexas.edu!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!The-Star.honeywell.com!umn.edu!csus.edu!netcom.com!ray
  3. From: ray@netcom.com (Ray Fischer)
  4. Subject: Re: TCL nightmare for C++ illiterate ex-windows programmer
  5. Message-ID: <1993Jan22.010015.17871@netcom.com>
  6. Organization: Netcom. San Jose, California
  7. References: <93019.113451REE700A@MAINE.MAINE.EDU>
  8. Date: Fri, 22 Jan 1993 01:00:15 GMT
  9. Lines: 24
  10.  
  11. REE700A@MAINE.MAINE.EDU writes ...
  12. >  Well, I got Think C, read Macintosh Revealed series and finally bought
  13. >Mark & Cartwright's Programming Primer.  Granted the real problem's here
  14. >are impatience and an information defecit, but I'm having serious problems
  15. >with the Think Class Library.
  16.  
  17. Hmm.  You too, eh?  Useful, yes, but it rather reminds me of the
  18. original phone-book edition of Inside Mac.  26 chapters, each of which
  19. assumed you already knew the other 25.  Except now it's 50-some
  20. classes.
  21.  
  22. >  I took "Starter.p" and added a class called "Flash", which is a floating
  23. >point representation of a rectangle.  Included methods to get QD-compatible
  24. >rectangle coordinates.  (Wonder of wonders... it worked!).  But I COULD NOT
  25. >GET THE RECTANGLE TO DRAW!.
  26.  
  27. I don't know the class library that well, but it probably calls the
  28. draw routine in response to an Update event (see Window manager
  29. chapter of Inside Mac).  One way to generate same may be to call 
  30. something like InvalRect().
  31.  
  32. -- 
  33. Ray Fischer                   "Convictions are more dangerous enemies of truth
  34. ray@netcom.com                 than lies."  -- Friedrich Nietszsche
  35.