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.
WinInflateRect (1.2)
◄Function Group► ◄Overview► ◄Up► ◄Next► ◄Previous►
────────────────────────────────────────────────────────────────────────────
#define INCL_WINRECTANGLES
BOOL WinInflateRect(hab, prcl, cx, cy)
HAB hab; /* handle of the anchor block */
PRECTL prcl; /* address of structure with expanded rectangle */
SHORT cx; /* amount to expand width */
SHORT cy; /* amount to expand height */
The WinInflateRect function expands the coordinates of a rectangle. If the
specified expansion values are positive, the rectangle is expanded on all
sides. If the specified expansion values are negative, the horizontal
expansion value is subtracted from the left and added to the right, and the
vertical expansion value is subtracted from the bottom and added to the
top.
Parameter Description
────────────────────────────────────────────────────────────────────────────
hab Identifies the anchor block.
prcl Points to the RECTL structure that contains the rectangle to be
expanded.
cx Specifies the amount of horizontal expansion.
cy Specifies the amount of vertical expansion.
Return Value
The return value is always TRUE.
See Also
WinOffsetRect, RECTL
♦