win12.hlp (Table of Contents; Topic list)
WinSetRect (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINRECTANGLES
 
BOOL WinSetRect(hab, prcl, xLeft, yBottom, xRight, yTop)
HAB hab;          /* handle of the anchor block                 */
PRECTL prcl;      /* address of structure with rectangle to set */
SHORT xLeft;      /* left side                                  */
SHORT yBottom;    /* bottom side                                */
SHORT xRight;     /* right side                                 */
SHORT yTop;       /* top side                                   */
 
The WinSetRect function sets rectangle coordinates. This function is
equivalent to assigning the left, top, right, and bottom arguments to the
appropriate fields of the RECTL structure. The coordinates of the rectangle
are sign-extended before being placed into the RECTL structure.
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies an anchor block.
 
prcl       Points to a RECTL structure that contains the rectangle to be
           set.
 
xLeft      Specifies the left edge of the rectangle.
 
yBottom    Specifies the bottom edge of the rectangle.
 
xRight     Specifies the right edge of the rectangle.
 
yTop       Specifies the top edge of the rectangle.
 
Return Value
 
The return value is always TRUE.
 
See Also
 
WinSetRectEmpty, RECTL