• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: AUGUI, parameters and file selectors
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >AUGUI, parameters and file selectors (From: Malcolm Haylock <email@hidden>)

  • Prev by Date: Re: AUGUI, parameters and file selectors
  • Next by Date: Re: AUMixer: Metering Intermittent with volume of 1.0?
  • Previous by thread: Re: AUGUI, parameters and file selectors
  • Next by thread: CA Wiki -- Up and Running Again
  • Index(es):
    • Date
    • Thread