Parameter min value, pict control
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.