embedding/hosting Carbon/HIView in Cocoa/NSView? [slightly-OT]
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