Can anyone tell me the steps required to create a secondary window from a main window. I don't mean a dialog box but a full blown window that can process it's own messages. I don't want all the code, just the steps required etc. I've looked through Iczelions tutorials, but it doesn't seem to be covered, it's probably easy, but if you haven't done it before....................
Thanks,
Mel:)
Posted on 2001-08-18 08:52:19 by Mel
hello,

now to create a second window just do the same as when creating your first window, that is , use CreateWindowEx(). If the second window shall act different, it will also require its own "window class" (that is, call RegisterClass() for your second window and code a second window proc). If you want your second window having its own message loop (but why should you?), you need to create a second thread for it.

japheth
Posted on 2001-08-18 10:15:53 by japheth
Thanks japheth,
I thought it was something simple, but as said before if you haven't done it before.................
Mel:)
Posted on 2001-08-18 10:43:24 by Mel