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