GetWndClientRect (hwnd)

Returns a Rect record, which contains the client rectangle of the given window. The coordinates are given in the window's local coordinate system. The client rectangle does not include the window's frame or other non-client areas.  See: Rect Record.