Hi,
I'm building a small audio application that uses multiple threads for audio processing and gui control. I have a slider bar that controls the play position in the audio file. The slider bar is incremented every second, and I have some text, displaying the time, that gets updated. The updating is done by UpdateData(). The problem is that the gui is being updated so frequently that any other redraw() calls (ie. Minimizing/Maximizing other windows, or scrolling in other windows) causes glitches in the audio playback. Does anyone know a good way to frequently update the gui data with out bogging down the system. Thanks.
Bob
I'm building a small audio application that uses multiple threads for audio processing and gui control. I have a slider bar that controls the play position in the audio file. The slider bar is incremented every second, and I have some text, displaying the time, that gets updated. The updating is done by UpdateData(). The problem is that the gui is being updated so frequently that any other redraw() calls (ie. Minimizing/Maximizing other windows, or scrolling in other windows) causes glitches in the audio playback. Does anyone know a good way to frequently update the gui data with out bogging down the system. Thanks.
Bob