Child window shows up on top despite specifying NSWindowBelow
Child window shows up on top despite specifying NSWindowBelow
- Subject: Child window shows up on top despite specifying NSWindowBelow
- From: Francisco Tolmasky <email@hidden>
- Date: Tue, 20 Oct 2009 10:43:02 -0700
The title says it all, I set up a child window as such:
[targetWindow addChildWindow:self ordered:NSWindowBelow];
But the child window shows up on top of "targetWindow" until the first
click, at which point it immediately reorders itself to the back and
behaves correctly from that point forward. My suspicion is that it has
something to do with the fact that I set the child window before
"targetWindow" is visible, but given the structure of the code it
would be difficult to do otherwise (although not impossible if that is
the only way to fix this problem). Are there any known issues or
perhaps something obvious that I am doing incorrectly?
Thanks,
Francisco
_______________________________________________
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