win12.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
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