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.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Requires version 2.0 or later.
Header: Declared in wingdi.h.
Import Library: Use gdi32.lib.
Clipping Overview, Clipping Functions, CreateRectRgn, PtVisible, RECT, SelectClipRgn