Re: adding NSView from other application
Re: adding NSView from other application
- Subject: Re: adding NSView from other application
- From: Ricky Sharp <email@hidden>
- Date: Wed, 30 Mar 2005 16:24:10 -0600
On Mar 30, 2005, at 2:52 PM, Dmitry Markman wrote:
I'd like to clarify some issue
in general we can formulate problem as following:
1. there are 2 applications a1 and a2
2. a1 application creates NSView and send address of that NSView to a2
application (via TCP/IP protocol for example)
3. a2 application create NSView and attempts to add that new NSView to
the NSView that a1 application created
I think it's impossible on the Macintosh,
but I'd like to know for sure and reasons (if it's impossible)
It's impossible to do by sending the address of views as memory
addresses are private to each application.
However, you could "flatten" the NSView into a transferable form and
then send that to other app. That app in turn will re-create the
NSView.
___________________________________________________________
Ricky A. Sharp mailto:email@hidden
Instant Interactive(tm) http://www.instantinteractive.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden