Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CRgn::RectInRegion

CRgn::RectInRegion

Determines whether any part of the rectangle specified by lpRect is within the boundaries of the region stored in the CRgn object.

BOOL RectInRegion(
   LPCRECT lpRect 
) const;

Parameters

lpRect
Points to a RECT structure or CRect object. The RECT structure has the following form:
typedef struct tagRECT {
   int left;
   int top;
   int right;
   int bottom;
} RECT;

Return Value

Nonzero if any part of the specified rectangle lies within the boundaries of the region; otherwise 0.

See Also

CRgn Overview | Class Members | Hierarchy Chart | RectInRegion

Show:
© 2015 Microsoft