• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Mini Popup Window (Like iCal) SOLVED
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Mini Popup Window (Like iCal) (From: Seth Willits <email@hidden>)
 >Re: Mini Popup Window (Like iCal) (From: Markus Spoettl <email@hidden>)

  • Prev by Date: Re: Memory Allocation
  • Next by Date: NSOutlineView force expansion/refresh?
  • Previous by thread: Re: Mini Popup Window (Like iCal)
  • Next by thread: Re: Mini Popup Window (Like iCal)
  • Index(es):
    • Date
    • Thread