The RectVisible function determines whether any part of the specified rectangle lies within the clipping region of a device context.
BOOL RectVisible(
HDC hdc, |
// handle of the device context |
CONST RECT *lprc |
// address of rectangle structure |
); |
If some portion of the specified rectangle lies within the clipping region, the return value is nonzero.
If no portion of the specified rectangle lies within the clipping region, the return value is zero.
CreateRectRgn, PtVisible, RECT, SelectClipRgn