• 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 windows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Child windows


  • Subject: Child windows
  • From: David Aames <email@hidden>
  • Date: Sat, 13 Jan 2007 18:41:53 +0000

Hi all,

I've been experimenting with child windows and found a kind of weird behavior. I started off with two NSPanel windows which hide on deactivate and a main window. The top NSPanel (the one above the other NSPanel) has no title frame and isOpaque returns NO with a background [NSColor clearColor] so only its contents are visible. If I activate Expose both panels fade out and fade in. But when I the top NSPanel as a child window of the bottom one and activate Expose then contents of the top NSPanel slide away like a normal window (and eventually fade out) but I can clearly see that the NSPanel occupies space in Expose although nothing is shown there. In short, adding an NSPanel as a child of another NSPanel makes it behave like a normal window (the only difference is that it is not visible in Expose). Has anyone else bumped into this?

Regards,
David
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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 windows
      • From: Uli Kusterer <email@hidden>
  • Prev by Date: NSTextField text changed
  • Next by Date: Re: NSTextField text changed
  • Previous by thread: Re: NSTextField text changed
  • Next by thread: Re: Child windows
  • Index(es):
    • Date
    • Thread