Re: Window move unknown to NSApp?
Re: Window move unknown to NSApp?
- Subject: Re: Window move unknown to NSApp?
- From: "John C. Randolph" <email@hidden>
- Date: Wed, 2 Mar 2005 12:44:28 -0800
On Mar 2, 2005, at 12:35 PM, Bob Estes wrote:
Well, it's not one continuous loop, but the animation does go through
a lot of steps called by a single routine that doesn't return until
it's done.
That's why you're not seeing the normal event processing behavior (like
getting window moved events.) If your code doesn't return control to
the main event loop, a lot of things aren't going to happen.
I wouldn't advise taking over the event loop to do an animation. Have
a look at NSTimer to generate periodic events, or look into using
sprites in Quicktime.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden