home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / sys / mac / oop / macapp3 / 209 < prev    next >
Encoding:
Internet Message Format  |  1992-12-15  |  1.0 KB

  1. Path: sparky!uunet!stanford.edu!apple!applelink.apple.com
  2. From: D4887@AppleLink.Apple.COM (Advanced Comm Eng, G G Apple,PRT)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Re: Getting idle time in a vie
  5. Message-ID: <724467290.1134014@AppleLink.Apple.COM>
  6. Date: 16 Dec 92 00:45:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 17
  10.  
  11.  
  12.  
  13. ----------------------------------------------------------------------------
  14. >And if I try to put it into the cohandler chain, all kind of things get messed
  15. >up, and I wind up in an endless loop that eventually crashes the system with a
  16. >28 error.
  17.  
  18.     Yup.  That's what happens alright.  This one keeps coming up regularly.  My
  19. advice is don't ever install anything in the cohandler chain except a simple
  20. cohandler object that is subclassed directly from TEventHandler.  Install it
  21. and have its DoIdle call your View's DoIdle.  Remember to deinstall and free it
  22. when you are through with it.
  23.  
  24. G. Gordon Apple   D4887
  25. Advanced Communications Engineering, Inc.
  26. Redondo Beach, CA
  27.  
  28.