This method makes a CRect object equal to the intersection of two existing rectangles. The intersection is the largest rectangle contained in both existing rectangles.
Header file: | Afxwin.h |
Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
Windows CE versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
BOOL IntersectRect( LPCRECT lpRect1, LPCRECT lpRect2 );
CRect::operator &=, CRect::operator &, CRect::UnionRect, CRect::SubtractRect, CRect::NormalizeRect