• 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
Child window shows up on top despite specifying NSWindowBelow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Child window shows up on top despite specifying NSWindowBelow
      • From: Jesper Storm Bache <email@hidden>
  • Prev by Date: I don't understand this leak
  • Next by Date: Re: I don't understand this leak
  • Previous by thread: Re: I don't understand this leak
  • Next by thread: Re: Child window shows up on top despite specifying NSWindowBelow
  • Index(es):
    • Date
    • Thread