Re: Mini Popup Window (Like iCal) SOLVED
Re: Mini Popup Window (Like iCal) SOLVED
- Subject: Re: Mini Popup Window (Like iCal) SOLVED
- From: Seth Willits <email@hidden>
- Date: Wed, 16 Jul 2008 15:22:16 -0700
On Jul 10, 2008, at 3:39 PM, Markus Spoettl wrote:
Don't know but it appears a thin border is added to the content view
automatically - at least that is what I see in my own version.
I was hoping that works for overlay windows as well, but I wasn't
sure. I see now that it is.
On 10.5 this is probably done with an animation. The following is
basically what I'm using in a custom window class (you can set
startFrom to something suitable for your zoom start position):
That resizes a window rather than scales it. It's a different effect.
I figured it all out earlier today using the CGWindow API to get a
window image and using an overlay window to do the scaling. Works
great. And I don't even have to work about it breaking because of
private APIs :)
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden