• 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
embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]


  • Subject: embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
  • From: "Ross Bencina" <email@hidden>
  • Date: Mon, 10 May 2010 22:36:44 +1000

Hi

I'm trying to work out how to host Carbon AUs inside a Cocoa version of my app (I'm using Qt, so my app can be Carbon or Cocoa based, but people are saying I should move to Cocoa...). I'm at a dead end so any leads or suggestions woudl be most appreciated..

I want the AU GUIs (and VST too, by the way) to be sub-panes of my main app window, not in their own top-level windows. If the AU GUI is an NSView all is well, I can embed it inside other parent NSViews. But, if it's a Carbon AU (HIView), then I don't know how to deal with it. I can't find any information about how to embed an HIView inside a tree of parent NSViews. The only information I can find on the Apple website talks about embedding an HIView in a top level NSWindow (not inside a sub-NSView). Is that the only possibility? It seems a little strange since it's possible to go the other way (embed an NSView in a HIView using HICocoaView).

If there's no solution I guess I'll go back to using Carbon in the 32 bit version of my App and use HICocoaView to embed Cocoa AUs.

Any thoughts?

Many thanks

Ross.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
      • From: Martin Hairer <email@hidden>
    • Re: embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
      • From: Kyle Sluder <email@hidden>
    • Re: embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
      • From: Paul Davis <email@hidden>
  • Prev by Date: Re: How to play compressed audiofiles with RemoteIO on iPhone?
  • Next by Date: Re: embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
  • Previous by thread: Re: Setting hardware buffer sizes
  • Next by thread: Re: embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
  • Index(es):
    • Date
    • Thread