CRect::operator &=
Sets CRect equal to the intersection of CRect and rect.
void operator&=(
const RECT& rect
) throw( );
Parameters
- rect
Contains a RECT or CRect.
Remarks
The intersection is the largest rectangle that is contained in both rectangles.
Hinweis
Both of the rectangles must be normalized or this function may fail. You can call NormalizeRect to normalize the rectangles before calling this function.
Example
See the example for CRect::IntersectRect.
Requirements
Header: atltypes.h