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

  1. Path: sparky!uunet!stanford.edu!apple!applelink.apple.com
  2. From: GILLAM.R@AppleLink.Apple.COM (Richard Gillam,GEIS)
  3. Newsgroups: comp.sys.mac.oop.macapp3
  4. Subject: Getting idle time in a view
  5. Message-ID: <724445719.4457192@AppleLink.Apple.COM>
  6. Date: 15 Dec 92 18:48:00 GMT
  7. Sender: daemon@Apple.COM
  8. Organization: AppleLink Gateway
  9. Lines: 21
  10.  
  11. Hail, O gods of MacApp programming--
  12.  
  13. My application has a window with a number of views in it.  One of those views
  14. needs to get idle time so that a visual element within it can be animated.
  15. This view is not the target view of the window; it is a peer to it.
  16.  
  17. Because the view is not in the target chain, it doesn't get time automatically.
  18. And if I try to put it into the cohandler chain, all kind of things get messed
  19. up, and I wind up in an endless loop that eventually crashes the system with a
  20. 28 error.
  21.  
  22. What's the right answer?  I never want the animated view to be the target view,
  23. because clicking on it doesn't do anything, but I don't know how to make it get
  24. idle time.  Am I missing something obvious here?  I can't believe the people
  25. who designed MacApp didn't account for this case.
  26.  
  27. How do I do what I want to do here?  Please enlighten me.
  28.  
  29. Rich Gillam
  30. GE Information Services
  31.  
  32.