win12.hlp (Table of Contents; Topic list)
WinIsRectEmpty (1.2)
Function Group  Overview                          Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
#define INCL_WINRECTANGLES
 
BOOL WinIsRectEmpty(hab, prcl)
HAB hab;        /* handle of the anchor block                   */
PRECTL prcl;    /* address of structure with rectangle to check */
 
The WinIsRectEmpty function tests whether a rectangle is empty. (An empty
rectangle is one with no area. The right side is less than or equal to the
left and the bottom side is less than or equal to the top.)
 
Parameter  Description
────────────────────────────────────────────────────────────────────────────
 
hab        Identifies the anchor block.
 
prcl       Points to the RECTL structure that contains the rectangle to be
           tested.
 
Return Value
 
The return value is TRUE if the rectangle is empty or FALSE if the rectangle
is not empty.
 
See Also
 
WinSetRectEmpty, RECTL