• 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
Re: Adding Multiple NSWindow or NSPanel into another NSWindow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • RE: Adding Multiple NSWindow or NSPanel into another NSWindow
      • From: "Ankur Singhal" <email@hidden>
References: 
 >Adding Multiple NSWindow or NSPanel into another NSWindow (From: "Ankur Singhal" <email@hidden>)

  • Prev by Date: Re: How to determine if a file is completely copied?
  • Next by Date: NSTableView behavior changes
  • Previous by thread: Adding Multiple NSWindow or NSPanel into another NSWindow
  • Next by thread: RE: Adding Multiple NSWindow or NSPanel into another NSWindow
  • Index(es):
    • Date
    • Thread