Music Player Seek bar help?
I am using the mmcontrol to make a music player and I would like to make a seek bar... currently I just have a progress bar with the max value set to the number of miliseconds the current track is and then it updates every 5 miliseconds with the value of the tracks current position...
how can I make a seek bar and set the track position... I have already made the code to click on the progress bar and get a value so now I just need to implement it...
Re: Music Player Seek bar help?
I dont have the exact code any more, but I have done his before.
You just need some simple math. When you release the slider get the slider position and move the song to that point (How ever many seconds into the song).
I know that doesn't sound very helpfull..but it realy is just simple math.