Re: Carbon AudioUnitView in an NSWindow
Re: Carbon AudioUnitView in an NSWindow
- Subject: Re: Carbon AudioUnitView in an NSWindow
- From: William Stewart <email@hidden>
- Date: Fri, 10 Feb 2006 10:37:46 -0800
Its also how we do this in AULab - that's the genesis of the document
you cite, so there is some considerable experience behind those
comments.
Bill
On 10/02/2006, at 3:18 AM, Stefan Gretscher wrote:
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
--
mailto:email@hidden
tel: +1 408 974 4056
________________________________________________________________________
__
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
________________________________________________________________________
__
_______________________________________________
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