I have tried to make a window using CreateWindowEx.
The children of this window is created like this:
But i do not know how to set the tab id, or in any way get the tab key to work, and i do NOT want to use a dialog. Can someone help me out here?
CreateWindow("button", "Close", WS_CHILD | WS_VISIBLE | BS_PUSHBUTTON | WS_TABSTOP,
4, 4, 75, 25, MainWnd, (HMENU) 1, hInstance, NULL);
You need an IsDialogMessage() in your message loop. I'm not sure about tab order.
I managed to fix it after looking at that page,
but their example was totally screwed up.