Function:
GetWindowRect(hWnd, lpRect)
|
Description:
Retrieves the dimensions of the bounding rectangle of the
specified window. The dimensions are given in screen coordinates that
are relative to the upper-left corner of the screen.
|
Parameters:
hWnd: handle of window.
lpRect: Variable that receives the coordinates of
the upper-left and lower-right corners of the window.
|
Returns:
Returns 1 if successful, or 0 if an error occurred.
|
Example: 
Click on the calc icon to view a sample of the GetWindowRect
function.
|