On 6/3/08 11:01 PM, Markus Spoettl said:

>I have an existing window which I'd like to show and hide using a
>zooming transition effect. I'd like something similar to the one in
>iCal (on Leopard) when you double click a calendar entry or in Finder
>when you press SPACE on an item an the QuickLook window becomes
>visible (same for hiding). How does one go about that?

Carbon has an API that does this: TransitionWindow().  You can take a
look at its docs.  It supports the genie effect and others.  There is no
equivalent Cocoa API.

Matt Ball wrote some Cocoa code that uses this:
<http://www.mattballdesign.com/code/>

Alas, TransitionWindow() is deprecated and not available in 64.  So
really I don't recommend it.

--
____________________________________________________________
Sean McBride, B. Eng                 [EMAIL PROTECTED]
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada

_______________________________________________

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 [EMAIL PROTECTED]

Reply via email to