Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- case WM_SIZE:
- {
- RECT rc{};
- GetClientRect(hWnd, &rc);
- MoveWindow(GetDlgItem(hWnd, IDC_LIST1), 0, 0, rc.right, rc.bottom - 25, TRUE);
- MoveWindow(GetDlgItem(hWnd, IDC_STATUS_BAR), 0, rc.bottom - 20, rc.right, 20, TRUE);
- // WORKS
- //SendMessageW(GetDlgItem(hWnd, IDC_STATUS_BAR), WM_SIZE, 0, 0);
- return TRUE;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement