Re: Carbon AudioUnitView in an NSWindow
Re: Carbon AudioUnitView in an NSWindow
- Subject: Re: Carbon AudioUnitView in an NSWindow
- From: Stefan Gretscher <email@hidden>
- Date: Fri, 10 Feb 2006 12:18:59 +0100
Hi Dominic,
we're hosting Carbon AU views in GarageBand pretty much like
described in the CoreAudio SDK:
/Developer/Examples/CoreAudio/Documentation/AudioUnits/
CarbonViewCocoaWindow.rtfd
This has been working pretty good for us, so what's the "obvious
drawbacks" you're seeing with this parent/child approach?
Best,
Stefan
Am 10.02.2006 um 02:13 schrieb Dominic Feira:
I need to display Carbon AudioUnitView's in a Cocoa app. So far,
I have been able to insert the Carbon view into the NSWindow, but
it is drawn behind all of the Cocoa views and doesn't receive any
events.
I guess it is a 2 part problem then.
1. Is it possible to get the Carbon view to draw in front of the
NSViews?
2. How do I get the Carbon view to respond to events?
If anybody has experience embedding Carbon controls inside of an
NSWindow I'd appreciate any suggestions or insight.
I have read the recommended approach in /Developer that says to
create a window and use parent/child windows to pin the Carbon
window containing the carbon AudioUnitView to the parent NSWindow.
This approach obviously has drawbacks. So, I'm researching any
other possible solutions to this problem.
_______________________________________________
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