Re: Button remains "pressed" until callback function ends



Play the sound in an idle handler which is set in the callback function.

That's quite a step forward. What if I want to play the sound in the background,
enabling the program to process other events simultaneously? I mean, when the
sound is being played, I can't eg. close the main window or click any other
button. Any hints?

Thanks again for any help,
Michal Kepien



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]