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

Popular posts from this blog

Magento/PHP - Get phones on all members in a customer group -

php - Bypass Geo Redirect for specific directories -

php - .htaccess mod_rewrite for dynamic url which has domain names -