InsetRect
A version of this page is also available for
4/8/2010
This macro calls the InflateRect function, passing in the negative value of the specified x- and y-coordinates.
Syntax
BOOL InsetRect(
LPRECT lprc,
int dx,
int dy
);
Parameters
- lprc
Long pointer to the RECT structure that increases or decreases in size.
- dx
Specifies the amount to increase or decrease the rectangle width. This parameter must be negative to increase the width.
- dy
Specifies the amount to increase or decrease the rectangle height. This parameter must be negative to increase the height.
Return Value
TRUE indicates success. FALSE indicates failure. To get extended error information, call GetLastError.
Requirements
Header | windowsx.h |
Windows Embedded CE | Windows CE 1.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |