Archived

This topic is now archived and is closed to further replies.

Out of focus DialogBox - sound stops

This topic is 5502 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Windows/ MFC /DialogBox /mesage Loop, are you still with me? ok, I create a dialog box using DialogBox(...) then set CooperationLevel etc.etc. set Sticky focus, global focus blabla. Then when this dialog looses focus, sound stops. Case2: same flags same parameters but I create a window, and my own message loop for it. It this case sound plays even when the window looses focus. What is wrong with the dialog? Any idea about what it might be, I have a feeling that this is a very trivial case but I''m just to dumb to find the solution Thanks

Share this post


Link to post
Share on other sites