Re: AUGUI, parameters and file selectors
Re: AUGUI, parameters and file selectors
- Subject: Re: AUGUI, parameters and file selectors
- From: Airy André <email@hidden>
- Date: Mon, 13 Mar 2006 22:29:31 +0100
Hi Malcom.
[sorry for the quite out of mailing list topic answer...]
You can use any augui control for any purpose, without binding it to
a parameter.
Just set its command field in IB to some value ('FILE' for example),
and implement the " HandleCommand" method in your view, with
something like :
You don't need to fill the view ID if you don't need to retrieve the
button from your code, and you don't need to bind it to a parameter.
//
------------------------------------------------------------------------
-----
bool MyAUView::HandleCommand(EventRef inEvent, HICommandExtended
&cmd)
{
bool res = false;
switch (cmd.commandID) {
case 'FILE':
// do your thing..., send info to the AU...
...
break;
...
default:
break;
}
return res;
}
I use that is several AU.
Airy
_______________________________________________
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