D
David Glover
Hi all,
I have a trackbar in a .NETCF application. I wish for the following to
happen:
1) To allow the user to select a position in the track bar causing
another method to be called (a method in an imported native DLL)
and
2) To have the position of the track bar updated from another method
(a timer click most likely) and for the relevant position to be set.
This is actually implementing a slider to scroll through an MP3 to put
this work in context. However, I do not want the update from the timer
to cause the first trigger code to run.
My initial idea was to put the first block in the Scroll event of the
TrackBar, and then just call trackBar.value = ... from the timer
click. This appears to work when using an .NET app, however when I
write the code for a .NETCF app, the scroll method is not present.
This only event even close is ValueChanged - which will be called in
both cases (update from the user or programatic update).
Is there any way to seperate these two "triggers" using the trackBar
control? Do I have to write my own control? Does anyone know of such a
control?
Many thanks,
David Glover
I have a trackbar in a .NETCF application. I wish for the following to
happen:
1) To allow the user to select a position in the track bar causing
another method to be called (a method in an imported native DLL)
and
2) To have the position of the track bar updated from another method
(a timer click most likely) and for the relevant position to be set.
This is actually implementing a slider to scroll through an MP3 to put
this work in context. However, I do not want the update from the timer
to cause the first trigger code to run.
My initial idea was to put the first block in the Scroll event of the
TrackBar, and then just call trackBar.value = ... from the timer
click. This appears to work when using an .NET app, however when I
write the code for a .NETCF app, the scroll method is not present.
This only event even close is ValueChanged - which will be called in
both cases (update from the user or programatic update).
Is there any way to seperate these two "triggers" using the trackBar
control? Do I have to write my own control? Does anyone know of such a
control?
Many thanks,
David Glover