CWnd::GetWindowRect:
receive the screen coordinates of the upper-left and lower-right corners.
CWnd::GetClientRect:
receive the client coordinates. The left and top members will be 0. The right and bottom members will contain the width and height of the window.