Function:
SetRect(lpRect, xLeft, yTop, xRight, yBottom)
|
Description:
Sets the coordinates of the specified rectangle. This is
equivalent to assigning the left, top, right, and bottom arguments to
the appropriate members of the RECT structure.
|
Parameters:
lpRect: Points to the RECT structure that contains the
rectangle to be set.
xLeft :Specifies the x-coordinate of the rectangles upper-left corner.
yTop :Specifies the y-coordinate of the rectangles upper-left corner.
xRight :Specifies the x-coordinate of the rectangles
lower-right corner.
yBottom :Specifies the y-coordinate of the rectangles
lower-right corner.
|
Returns:
Returns 1 if successful, or 0 if an error occurred.
|
Example: 
Click on the calc icon to view a sample of the SetRect
function.
|