RectInRegion
The RectInRegion
function determines whether any part of the specified rectangle is within the
boundaries of a region.
BOOL RectInRegion(
HRGN hrgn, |
// handle of region
|
CONST RECT *lprc |
// address of
structure with rectangle |
); |
|
Parameters
hrgn
Identifies
the region.
lprc
Points to a RECT
Return Values
If any part
of the specified rectangle lies within the boundaries of the region, the return
value is nonzero.
If no part of
the specified rectangle lies within the boundaries of the region, the return
value is zero.
See Also