tutorials can be found on MSDN and maybe CodeProject as well however i recommend books targeted at beginners. Starting C++ Windows programming is a long journey. There are many fundamental issues that good beginner books should/will cover.
im not necessarily a beginner, i know windows programming but never used mfc before. i know all about postmessage and sendmessage and the windows messages, but at the moment im using DestroyWindow().
Also you can use
PostQuitMessage(NULL);
It is a usual practice for standalone applications which could have or not windows, but all of them them have message loops.
I recomment The Visual C++ 6.0 Bible. Takes you through everything from Dialog, SDI, and MDI applications. Covers menus, toolbars, status bars, etc, with examples to boot. You won't regret reading it.
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.