CRect::operator &

This operator obtains a CRect object that is the intersection of this CRect object and rect2. 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

CRect operator &( const RECT& rect2 ) const;

See Also

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