how can i control the 2nd and 3rd effect slider in the keyboard shortcuts
geposted Sun 07 May 06 @ 8:45 am
You have to set the value plus 65536*(number_of_the_slider-1).
E.g.:
Slider 4 value is 128:
Value = ( 65536 * ( 4 - 1 ) ) + 128 = 196736
Slider 1 value is 2048:
Value = ( 65536 * ( 1 - 1 ) ) + 2048 = 2048
This is because the "low word" of the value (the least significant 16 bits) are the value to give the slider, and the high word (the most significant 16 bits, computed as "65536*number") means the slider index (the first is 0).
E.g.:
Slider 4 value is 128:
Value = ( 65536 * ( 4 - 1 ) ) + 128 = 196736
Slider 1 value is 2048:
Value = ( 65536 * ( 1 - 1 ) ) + 2048 = 2048
This is because the "low word" of the value (the least significant 16 bits) are the value to give the slider, and the high word (the most significant 16 bits, computed as "65536*number") means the slider index (the first is 0).
geposted Sun 07 May 06 @ 8:07 pm
ok thanks
geposted Mon 08 May 06 @ 2:02 am