Re: Best technology to use for overlays?
Re: Best technology to use for overlays?
- Subject: Re: Best technology to use for overlays?
- From: Chris Suter <email@hidden>
- Date: Fri, 24 Apr 2009 21:52:07 +1000
Hi Michael,
On Fri, Apr 24, 2009 at 9:38 PM, Michael Ash <email@hidden> wrote:
> If your overlay is known about in advance, the solution to the timing
> window is easy: load and position it immediately, when you load the
> parent window, even if you don't need it yet. You can fill it with
> nothing so that it's invisible, but this way there's no opportunity
> for the positions to desynchronize.
Unfortunately, that approach won't work, or rather, it works until you
have to resize it. There's no setFrameSize method, only a setFrame
method so when you have to resize your overlay window, you have to set
the position at the same time.
And that, of course, is another hassle with child windows: it's more
tricky when it comes to resizing them.
Regards,
Chris
_______________________________________________
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