• 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: Embeding a view into another application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Embeding a view into another application


  • Subject: Re: Embeding a view into another application
  • From: "Shawn Erickson" <email@hidden>
  • Date: Fri, 16 Mar 2007 12:00:04 -0700

On 3/16/07, Scott Brooks <email@hidden> wrote:
I have a webkit plugin that fork/exec's a child process, and in the child
process I want to call
[NSOpenGLContext setView: MyWebKitView]

I tried getting the windowref from the plugin and passing it into the child
process and then
[[NSWindow alloc] initWithWindowRef: windowref]
but it is always returning null.

I'm thinking it may be a permissions issue since it's a seperate process, but
I hope not, or that there is a way around it.

A window context is a private "relationship" between the task that requested the window and the window server. You cannot share them across tasks with current versions of Mac OS X.

In other words at this time you really cannot do what you appear to be
doing... at least the way you are trying to do it.

-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: 
 >Embeding a view into another application (From: Scott Brooks <email@hidden>)

  • Prev by Date: Embeding a view into another application
  • Next by Date: Re: Embeding a view into another application
  • Previous by thread: Embeding a view into another application
  • Next by thread: Re: Embeding a view into another application
  • Index(es):
    • Date
    • Thread