RectVisible

This function determines whether any part of the specified rectangle lies within the clipping region of the specified device context.

At a Glance

Header file: Wingdi.h
Windows CE versions: 2.0 and later

Syntax

BOOL RectVisible( HDC hdc, CONST RECT * lprc);

Parameters

hdc

[in] Handle to the device context.

lprc

[in] Long pointer to a RECT structure that contains the logical coordinates of the specified rectangle.

Return Values

Nonzero indicates that some portion of the specified rectangle lies within the clipping region. Zero indicates that no portion of the specified rectangle lies within the clipping region.

See Also

RectInRegion