• 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: Sharing a content view between two NSWindows
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sharing a content view between two NSWindows


  • Subject: Re: Sharing a content view between two NSWindows
  • From: "Shawn Erickson" <email@hidden>
  • Date: Mon, 12 Mar 2007 18:03:21 -0700

On 3/12/07, Roland Torres <email@hidden> wrote:

On Mar 12, 2007, at 3:11 PM, Roland Torres wrote:

> I have two NSWindows, and I would like them to both share the same
> content view. They're to be displayed on different screens; one is
> on a control panel; the other is what people see, full-screen, on a
> dedicated monitor.
>
> It seems that -setContentView:cview somehow removes cview from
> wherever it's currently associated, and associates it only with the
> receiver. Is there a way to share a content view between two NSViews?

Oops! Above, I obviously meant to say "...between two NSWindows."

No it isn't supported. A view can only have one super view.

-Shawn
_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


References: 
 >Sharing a content view between two NSViews (From: Roland Torres <email@hidden>)
 >Re: Sharing a content view between two NSWindows (From: Roland Torres <email@hidden>)

  • Prev by Date: Re: Sharing a content view between two NSViews
  • Next by Date: Re: a HUGE Core Data bug
  • Previous by thread: Re: Sharing a content view between two NSWindows
  • Next by thread: Re: Sharing a content view between two NSViews
  • Index(es):
    • Date
    • Thread