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...
Yes, I know that, but it's not a value - there are many values - it's about changing the language of the application, but I don't want to write "an English" file if I have the opportunity to load the orinal resource.
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.
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. So (for now) I chose to restart the application...
Yes I own both the apps. I found a way to resolve this problem, but my bigger problem remains - noone can't tell me how to reload the default resources of the application at runtime. This is the reason I had to create a temporary exe (or attach dll) which starts immediately after closing the...
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.