CRect::operator &=

Use this operator to set a CRect object equal to the intersection of itself and the argument passed in the rect parameter. The intersection is the largest rectangle that is contained in both rectangles.

void operator &=( const RECT& rect );

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CRect Overview, CRect Operators, Simple Value Types, CRect::operator &, CRect::operator |=, CRect::IntersectRect, CRect::NormalizeRect