Re: Using IB to build AU interface
Re: Using IB to build AU interface
- Subject: Re: Using IB to build AU interface
- From: Airy André <email@hidden>
- Date: Fri, 18 Oct 2002 21:54:09 +0200
OK, EmbedControl seems to work.
I've managed to fill the CarbonPane with my nib.
I' have now to connect the controls to my parameters.
I'll try to post some sample code if anybody is interested.
Thanks
Airy
Le vendredi, 18 oct 2002, ` 14:42 Europe/Paris, EJ Campbell a icrit :
I'm not sure if this would work in an AU view, but you could try
EmbedControl() . I've never used the call, but it was suggested for
use in a situation similar to this over on the Carbon Developers List.
To use the call, create a hidden window with your nib in it. Grab the
window's root control and pass it to EmbedControl() along with the
ControlRef from the mCarbonPane. This should copy the controls from
your nib into your AU's pane. You can then dispose of the hidden
window.
Like I said, I've never used this call, nor have I even implemented an
AU, so there's most likely a gotcha that I'm unaware of. One thing I
learned from the discussion over on the Carbon list is that if
EmbedControl() does not meet your needs, there does not seem to be any
other way to do accomplish what you are trying to do.
-EJ
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.