> >Sorry, I still do not catch ;-( > And I don^t understand what you want to achieve
OK, we are both then. :-). Imagine that a song is playing. So the audio thread sent, at each reading of the buffer, some data to the main thread, like position in the sound. Then there is a synchro: the button slider is set at the position given by the audio thread. If I change the position manually while the song is playing, now, the position is changed everytime while moving the slider-button. It is not what I want, I would prefer that the position change only when I release the button, and when the button is not released, only calculate the "virtual position" and give it in the label-position.. (and it is why I did a "custom" TSlider with some public mouse-event that you did not like). I hope you did understand. Fre;D -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ mseide-msegui-talk mailing list mseide-msegui-talk@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk