Child windows
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