• 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
Parameter min value, pict control
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Parameter min value, pict control


  • Subject: Parameter min value, pict control
  • From: Airy André <email@hidden>
  • Date: Sat, 19 Oct 2002 21:45:49 +0200

While writing my generic AUView which load the mCarbonPane from a nib file, I discovered that if you have a parameter
with indexed named params, and you want to control this value from anything else that a popup, you have to put
the min value of this parameter to one. Anything else will fail since the AUVParameter class offset the value by
(min-1) to make the PopUp control happy.

About PICT control, it seems that the control try to load the pict resource from the host bundle, and not from the component
bundle...
Is there any trick to make this working ? Or do I have make a custom control for that ?

BTW, my class seems to work pretty well, and I'll try to put it on my site this weekend.
To use it, all you have to do is to make a nib containing a "window" window in your bundle, to assign the command ID of your controls
matching the ID of the parameter you want to control, and the mCarbonPane is automatically build, with the correct
binding between the parameters and the control.
The only thing missing now is the handling of custom controls.

Airy
_______________________________________________
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.

  • Follow-Ups:
    • Re: Parameter min value, pict control
      • From: Urs Heckmann <email@hidden>
References: 
 >Fwd: New HIView sample code posted (From: Urs Heckmann <email@hidden>)

  • Prev by Date: Fwd: New HIView sample code posted
  • Next by Date: AU Filter - With GUI
  • Previous by thread: Fwd: New HIView sample code posted
  • Next by thread: Re: Parameter min value, pict control
  • Index(es):
    • Date
    • Thread