Thanks for the help Ken Is there any alternative way to do this? I am really stuck so any help would be appreciated
Thanks & Regards, Ankur Singhal -----Original Message----- From: Ken Thomases [mailto:k...@codeweavers.com] Sent: Wednesday, February 18, 2009 6:05 Morning To: Ankur Singhal Cc: cocoa-dev@lists.apple.com Subject: Re: Adding Multiple NSWindow or NSPanel into another NSWindow 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 (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com