• 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: Cocoa control in carbon window
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Cocoa control in carbon window
      • From: Daniel Jalkut <email@hidden>
References: 
 >Cocoa control in carbon window (From: Philip Dow <email@hidden>)

  • Prev by Date: Re: Special characters for buttons
  • Next by Date: Re: Special characters for buttons [solved]
  • Previous by thread: Cocoa control in carbon window
  • Next by thread: Re: Cocoa control in carbon window
  • Index(es):
    • Date
    • Thread