Re: Detecting when sheet has finished appearing

2009-10-10 Thread BravoBug Software
-beginSheet methods return once the sheet has finished animating
(IIRC). If you call -beginSheet you can add the code you want to
execute after the sheet has been displayed immediately after that (but
before any modal calls such as -runModalForWindow). The code will
execute after the sheet animation has finished.

On Sat, Oct 10, 2009 at 3:50 PM, Squ Aire  wrote:
>
> A sheet animates into view. I want to detect it when this animation is 
> complete. There are certain things (like a progressbar) that I wish to start 
> only when the sheet has actually finished appearing on the screen. I don't 
> want the progress bar to start before that.
>
>
> All I can find are a bunch of "SheetWillBegin" stuff. But I cannot seem to 
> find any "SheetDidBegin" stuff.
>
>
> I therefore ask: How can I detect it when the sheet has completely appeared 
> on the screen, i.e. detect when the sheet animation is complete?
> _
> Windows Live: Make it easier for your friends to see what you’re up to on 
> Facebook.
> http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009___
>
> Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
> http://lists.apple.com/mailman/options/cocoa-dev/bravobug%40gmail.com
>
> This email sent to bravo...@gmail.com
>
___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com


Detecting when sheet has finished appearing

2009-10-10 Thread Squ Aire

A sheet animates into view. I want to detect it when this animation is 
complete. There are certain things (like a progressbar) that I wish to start 
only when the sheet has actually finished appearing on the screen. I don't want 
the progress bar to start before that.


All I can find are a bunch of "SheetWillBegin" stuff. But I cannot seem to find 
any "SheetDidBegin" stuff.


I therefore ask: How can I detect it when the sheet has completely appeared on 
the screen, i.e. detect when the sheet animation is complete?   
   
_
Windows Live: Make it easier for your friends to see what you’re up to on 
Facebook.
http://www.microsoft.com/middleeast/windows/windowslive/see-it-in-action/social-network-basics.aspx?ocid=PID23461::T:WLMTAGL:ON:WL:en-xm:SI_SB_2:092009___

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com