c++ - How to make a thread in MFC for moving slider control with respect to audio file that is being played? -
i able move slidercontrol according position using csliderctrl::getpos , being played program. (this part of music player mfc project).
but need automatically without notification/events ....
i thought of creating thread move slider after clicking on play button.
you want have 1 thread updating ui (and doing little else possible).
it work better have secondary thread playing music. can send message ui thread, , ui thread updates slider control position when receives message.
Comments
Post a Comment