Re: SetHidden on two objects... Slow to hide
Re: SetHidden on two objects... Slow to hide
- Subject: Re: SetHidden on two objects... Slow to hide
- From: Mike Abdullah <email@hidden>
- Date: Thu, 27 Jul 2006 16:09:20 +0100
ah, yes, good point, did you ever use:
setUsesThreadedAnimation:
on the progress indicator?
Mike.
On 27 Jul 2006, at 15:27, Shawn Erickson wrote:
On Jul 27, 2006, at 7:21 AM, PGM wrote:
Maybe this works:
NSDisableScreenUpdates();
[myViewA setHidden:YES];
[myViewB setHidden:YES];
NSEnableScreenUpdates();
Adjusting hidden among other thing does not incur immediate drawing
but simply marks affected areas dirty. The issue at hand is that a
secondary animation thread likely exists for the spinner which can
result in it responding to the drawing update before the main
thread gets back around to redraw dirty views.
-Shawn
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40gmail.com
This email sent to email@hidden
_______________________________________________
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