🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.mac.oop.macapp3
Article #147

Getting idle time in a view

#147
From: Richard Gillam,GEIS
Date: Tue, 15 Dec 1992 18:48
21 lines
1268 bytes
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
 
Technical Details
Message-ID: <724445719.4457192@AppleLink.Apple.COM>
Path: arc1-ca.pugleaf.net!sparky!uunet!stanford.edu!apple!applelink.apple.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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