I defined a variable slider to display the volume of car headunit. Also, I can adjust the headunit volume by clicking the silder. Now, the problem is that the slider can display the volume well just before clicking it. Once click the slider, it will always stay in the position mouse clicked.
I traced the ReturnSlider(). It was called but the slider just does not refect the ReturnSlider value.
-- ReturnSlider() in RRExtension
-- ProcessCommand() in RRExtension
Dim level As Integer = carVolume.getLevel()
ReturnSlider = Int(65535 / CarVolume.MAX_VOLUME * level)
If InStr(CMD, "SETCARVOL") <> 0 Then
'here is code to control car volume