Fwd: Using IB to build AU interface
Fwd: Using IB to build AU interface
- Subject: Fwd: Using IB to build AU interface
- From: EJ Campbell <email@hidden>
- Date: Fri, 18 Oct 2002 05:42:30 -0700
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
On Friday, October 18, 2002, at 04:03 AM, Airy Andri wrote:
Is there a way to use a .nib file to populate the mCarbonPane ?
I am not a Carbon programmer and the only method I found on the docs
about Carbon and nib is only for creating new windows.
Airy
ps : new AU should be available on my www this WE
--
http://airy.andre.online.fr/AU/AirySynth.tgz
http://airy.andre.online.fr
_______________________________________________
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.
_______________________________________________
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.