Re: Control value passing
Re: Control value passing
- Subject: Re: Control value passing
- From: Urs Heckmann <email@hidden>
- Date: Tue, 1 Oct 2002 00:39:05 +0200
Am Montag, 30.09.02, um 20:00 Uhr (Europe/Berlin) schrieb Bill Stewart:
SetControlValue should fire the value changed callback if the value is
actually changing - the AUView code relies on this behaviour between
the
slider and the text box to keep them in sync
Okay, now everything works fine.
The problem was, I passed AUCarbonViewControl::ControlType sliderType
to the AddCarbonControl() when I registered my custom control (copy
paste from AUControlGroup). That obviously wasn't dispatched correctly
in AUCarbonViewControl::ControlToParameter() which looked like it
wasn't dispatched at all.
So if you create custom controls, better don't copy paste and register
like this:
auView->AddCarbonControl(AUCarbonViewControl::kTypeContinuous, auvp,
newControl);
Sigh.
;) Urs
_______________________________________________
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.