• 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: "Ankur Singhal" <email@hidden>
  • Date: Wed, 18 Feb 2009 09:50:18 +0530

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:email@hidden]
Sent: Wednesday, February 18, 2009 6:05 Morning
To: Ankur Singhal
Cc: email@hidden
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 (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: Ken Thomases <email@hidden>
References: 
 >Adding Multiple NSWindow or NSPanel into another NSWindow (From: "Ankur Singhal" <email@hidden>)
 >Re: Adding Multiple NSWindow or NSPanel into another NSWindow (From: Ken Thomases <email@hidden>)

  • Prev by Date: Re: Multiline srings
  • Next by Date: NSMailDelivery API
  • Previous by thread: Re: Adding Multiple NSWindow or NSPanel into another NSWindow
  • Next by thread: Re: Adding Multiple NSWindow or NSPanel into another NSWindow
  • Index(es):
    • Date
    • Thread