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

Reference

CDC Class

Hierarchy Chart

CDC::PtVisible

CDC::SelectClipRgn

CRect Class

RectVisible

RECT Structure