I know what this function is and how to use it, AND i know the parameters for it. I put it in the switch(message) and am wondering if there are any other parameters I could use (in the first parameter) other than "BUTTON", "STATIC", and "EDIT".
:
1 2 3 4 5
CreateWindow(/*parameter I am talking about */,
"window name",
WS_VISIBLE | WS_CHILD,
50,50,50,50,
hwnd, NULL, NULL, NULL);
hopefully you can understand what I mean. If not I'll try to explain a bit better. If there is anything wrong with the way I do it please tell me.
Also: all the NULLs, I know (HMENU) is one you could use for the first NULL parameter spot, but what about the other two? Are they just... There?
Or you can register your own class using RegisterClass. Once you've registered a class (with a name) you can pass that name to CreateWindow to create instances of your new type of window.