How can I make a second "form" in my windows program? Chimpface asked this a while back but I can't find the thread. Thanks guys :D
Printable View
How can I make a second "form" in my windows program? Chimpface asked this a while back but I can't find the thread. Thanks guys :D
Every time you call CreateWindow (or CreateWindowEx) you will get another window. You can create another window with the same windowclass as your first window if you want, and it will use the same WindowProc (or whatever you call your Window Procedure) to deal with messages, so you may need to check which window the message is for. Alternatively, make a new windowclass (or copy the first one and alter it a little) and define a second WindowProc for the second window.
That make sense?