CDC::RectVisible

Determines whether any part of the given rectangle lies within the clipping region of the display context.

virtual BOOL RectVisible(
   LPCRECT lpRect 
) const;

Parameters

  • lpRect
    Points to a RECT structure or a CRect object that contains the logical coordinates of the specified rectangle.

Return Value

Nonzero if any portion of the given rectangle lies within the clipping region; otherwise 0.

Requirements

Header: afxwin.h

See Also

Concepts

CDC Class

CDC Members

Hierarchy Chart

CDC::PtVisible

CDC::SelectClipRgn

CRect Class

RectVisible

RECT Structure