On 21/10/2009, at 4:40 AM, Jesper Storm Bache wrote: > Your analysis (regarding window visibility) sounds plausible as non- > visible Cocoa windows have no "z-order". > I have logged: "6802899 Please add latent z-order to hidden NSWindows" > for this, but in the meantime I am left with having to move "hidden" > windows off screen and make then visible (then override > constrainFrameRect to not move the window back on screen).
It's probably better to call NSDisableScreenUpdates(), set the child window ordering/placement/visibility and then call NSEnableScreenUpdates(). This is what I do and it works perfectly. It's one of the main reasons these calls exist, AFAIK. -- Rob Keniger _______________________________________________ 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