I have a dialog with a frame control. In the frame I have a DC. On the DC is drawn the wave form of a sound.
I have the sound (wav and in mem) and I am trying to display 'where' the sound is upto by drawing to the DC. Having trouble getting the sound and Paint to syncronise.

Anyone have any code? Anyone done something like this? All help appreciated.

PS This is not my homework.