BOOL RectVisible(hDC,lpRect)
This function determines whether any part of the given rectangle lies within the clipping region of the specified display context.
Parameter | Type/Description |
hDC | HDC Identifies the device context. | |
lpRect | LPRECT Points to a RECT data structure that contains the logical coordinates of the specified rectangle. |
The return value specifies whether the rectangle is within the clipping region. It is nonzero if some portion of the given rectangle lies within the clipping region. Otherwise, it is zero.