Opening Windows from Menus
Okay, I'm learning basic Windows Programming on a very steep learning curve due to a totally over optimistic networking assignment for university. I've struck upon a problem not covered in the texts I have to hand and really needsome guidance to getting this one of the ground.
I've typed out my code for the WINMAIN function, created a menu for it, and set up the WinProc for processing the messages, but I've got a problem with the menu.
Menu works fine and all but I have the File Menu with the options "Login" and "Register", these should open a window with a couple of EditBoxes and a button, the problem is that I can't get my head around how to create the Windows for it. Since the parent window is initialised and created in WinMain I'm not sure I can create another function to open the windows.