Hi Michael,

On Fri, Apr 24, 2009 at 9:38 PM, Michael Ash <michael....@gmail.com> 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 (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

Reply via email to