I want to create two textboxes on my window. I used this code
case WM_CREATE:
hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("edit"), TEXT("sending"),
WS_CHILD | WS_VISIBLE | WS_TABSTOP | WS_BORDER | ES_LEFT,
15, 15, 200, 300, hwnd, NULL, NULL, NULL);
hwnd = CreateWindowEx(WS_EX_CLIENTEDGE, TEXT("edit"), TEXT("Receiving"),
WS_CHILD | WS_VISIBLE | WS_BORDER,
220, 15, 100, 300, hwnd, NULL, NULL, NULL);
break;
It shows only one window.
What is the problem?