Re: Adding Multiple NSWindow or NSPanel into another NSWindow
Re: Adding Multiple NSWindow or NSPanel into another NSWindow
- Subject: Re: Adding Multiple NSWindow or NSPanel into another NSWindow
- From: Ken Thomases <email@hidden>
- Date: Tue, 17 Feb 2009 18:34:50 -0600
On Feb 17, 2009, at 6:08 AM, Ankur Singhal wrote:
I am trying to attach NSPanel to an NSWindow but I can’t find any
example on it. Is it possible to add multiple Panel or Window within
an window.
Also is it possible to add Title Bar and Close button in NSView or
its subclasses?
Can some one help me out in sorting this problem?
Windows do not contain other windows. Windows contain a view, and any
view can contain multiple views, forming a view hierarchy.
Likewise, views are not windows. So, views do not have title bars or
close buttons.
This is different from Win32. It sounds like you're trying to
implement MDI child windows. That interface paradigm just isn't
applicable on the Mac.
Regards,
Ken
_______________________________________________
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