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 protected])
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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]