DspSetSlider
Sets the current position of a slider at the specified AN. You can use this function to move a slider, and adjust the value of the variable associated with the slider.
Note: This function is only used for V3.xx and V4.xx animations, and was superseded in later releases.
Syntax
DspSetSlider(AN, nPos)
AN:
The animation-point number.
nPos:
The position of the slider from 0 to 32000 where 0 is the zero position of the slider and 32000 if full position of the slider.
Return Value
0 (zero) if successful, otherwise an error is returned.
Related Functions
Example
// Set the position of the slider at AN 30 to 1/2 scale
DspSetSlider(30, 16000);
See Also