int pascal GetWindowRect(HWND hWnd, LPRECT r) <MS-WINDOWS equivalent> This function returns the rectangle which the passed window encompasses. Parameters hWnd is the handle of the window to query. r is a far pointer to a RECT structure that will be filled with the window's rectangle Returns Nothing