Making my way through some tutorials... I seem to be stuck on the concept of dialog boxes.. wondering if someone could look over my code and tell me what is wrong...
ill attach my .cpp file below since it is too long to post the code here...
What I am trying to do is
1) create a simple window (which i can do)
2) when the user tries to close the window a dialog box will
appear prompting the user for a password.
3) if the password is correct the dialog box will close and the
main window will close
4) otherwise the dialog box will close and the main window
thnx in advance for all the help
P.S. i didn't include my resource files... my dialog box consists of an OK button a CANCEL button and a text window for user to type in password...