I need to play two *.WAV files at the same time in my application - as in solitaire games - the first file is the background music and second sound file is played when the cards are moved (or similar events). Any idea how to do this? I'm trying with PlaySound() and a new thread, but nothing is...
Let's say my application has a pointer to a CDialog derived class and I create some modeless dialogs.(More than one!). My question is how to destroy all of them - myPointer->DestroyWindow() - for the last created one and after that how to redirect the pointer to the rest of the dialogs in order...
In case that some of the buttons' captions (or other resources)of a dialog application have been changed - is it possible at runtime to set all the resources to their original names/values? I tried with AfxSetResourceHandle(), but nothing happened. Any suggestions how to do this? Thanks.
How to obtain the original length and height of a window (as they were defined in the the resource file) or is there a function which restores the window to it's original size?
Let's say the user didn't click the OK-button (or any other button) of the MessageBox dialog and has activated another application which hides my dialog-based application. What shall I do in order to show my application and the unclosed MessageBox dialog?
I´m running the MFC-application wizard in VC++.NET, I haven´t added a single line to the newly-built application and still it can´t be started under Windows 98? (Message: "OLEACC.DLL IS NOT FOUND") What am I missing ... or what shall I add to my code?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.