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...