Re: Cocoa control in carbon window
Re: Cocoa control in carbon window
- Subject: Re: Cocoa control in carbon window
- From: j o a r <email@hidden>
- Date: Tue, 10 Jan 2006 14:57:50 +0100
On 10 jan 2006, at 14.24, Philip Dow wrote:
I'm looking to integrate carbon and cocoa objects in a window.
Doing some research, I found that I could not add carbon controls
to a cocoa window. Is it possible to do it the other way around,
creating a carbon window nib and grabbing the cocoa equivalent with
- (NSWindow *)initWithWindowRef:(void *)windowRef before passing
cocoa controls based on NSView into that?
No, this is explicitly not supported (not either way):
"It is important to recognize that embedding a Cocoa NSView inside a
Carbon window is not supported."
and
"It is important to recognize that embedding a Carbon control inside
a Cocoa window is not supported."
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CarbonCocoaDoc/index.html>
You can have a Carbon _window_ in a Cocoa app, and vice versa, though.
j o a r
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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