Odd results for such a simple procedure.
Can someone tell me why the following code is creating a new window just for my editbox?
expHwnds.hEdit = CreateWindow("EDIT", "MM/DD/YYYY", WS_BORDER | WS_VISIBLE | ES_MULTILINE | ES_WANTRETURN, rect.left, rect.top, rect.right - rect.left, rect.bottom - rect.top, hwnd, NULL, g_hInst, NULL);
I have never seen this happen before. The new "window" thats being created also has it's own title bar (with "MM/DD/YYYY" as the actual text on the title bar). I created a ListView in much the same manner and it didn't create it's own window. Anyone know why?