Getting client coordinates after resizing
Code:
case WM_SIZE:
{
cxClient = LOWORD(lParam);
cyClient = HIWORD(lParam);
return 0;
}
gives me width and height... I need to get coordinates rather (x.top, y.top, x.bottom, y.bottom)... Reason i need to use these to FillRect() the client window's background color every time the window is resize... My background is black because i use back-buffer (or memory DC), not sure why is that but yeah, that's the case i have. BTW what's the use of MoveWindow()? my thinking is whether or not i call MoveWindow, dragging or resizing the window will move/respond anyway!