How can I get hwndChild1's height to auto-resize to the current window dimensions?
Code:... RECT rect; int height; switch(message) { case WM_CREATE: GetClientRect(hwnd, &rect); height = rect.bottom; hwndChild1 = CreateWindowEx( WS_EX_STATICEDGE, "STATIC", "", WS_VISIBLE | WS_TABSTOP | WS_CHILD, 0, 0, 200, height, hwnd, NULL, hInst, NULL); break; case WM_SIZE: / * i am assuming i need a SendMessage? */ break; ...