Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Playing sounds sequentially 1

Status
Not open for further replies.

sjspain

Programmer
Sep 26, 2002
15
US
Is there a way to use PlaySound() to play several sounds sequentially (as if each call was made with the SND_SYNC flag) but still return contol to the user at the start of playing the first sound? If the SND_ASYNC flag is used, only the last sound will play, of course. What I want to do is queue up the sounds to play sequentially and return control to the user so he can stop the sounds if desired at any point during their play.

Thanks, Steve
 
I think this is perhaps the solution I was looking for!

Thanks,

Steve
 
Pete,

Thanks for the WM_TIMER tip. This turned out to be just the solution I was looking for. I REALLY appreciate your help!
 
sjspain,

Glad you got your app working. And thanks for posting a verification of it, that makes the forum much more useful for people searching the threads for solutions!

-pete
[sub]I just can't seem to get back my IntelliSense[/sub]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top