Re: AU - Embedding Cocoa Window in Carbon WindowRef
Re: AU - Embedding Cocoa Window in Carbon WindowRef
- Subject: Re: AU - Embedding Cocoa Window in Carbon WindowRef
- From: Stephen Blinkhorn <email@hidden>
- Date: Fri, 12 Nov 2010 22:08:51 -0600
On 12 Nov 2010, at 02:15, audioboy 77 wrote:
Hi
I am implementing a 32bit AudioUnit, for which the GUI has been
programmed in Cocoa. As a few hosts (most importantly) Ableton Live
dont support Cocoa Views,
Live > 8.0.5 supports Cocoa views.
I realise I have to provide the GUI as a a Carbon view. I have
never done any Carbon GUI programming, and cant find any
documentation on how to achieve this.
Basically after receiving the host window WindowRef, how to I embed
my cocoa UI, and how do I listen to notifications so I know when the
host window is moved or hidden?
There are a few ways to achieve this and a few previous postings on
this list. One way is to create a new window in your Carbon view code
and use that to host your custom Cocoa view.
Stephen
_______________________________________________
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