CRect::operator &=

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

At a Glance

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

Syntax

void operator &=( const RECT& rect );

See Also

CRect::operator &, CRect::operator |=, CRect::IntersectRect, CRect::NormalizeRect