CRect::operator &=
Sets CRect equal to the intersection of CRect and rect.
void operator&=(
const RECT& rect
) throw( );
Параметры
- rect
Contains a RECT or CRect.
Заметки
The intersection is the largest rectangle that is contained in both rectangles.
![]() |
---|
Both of the rectangles must be normalized or this function may fail. You can call NormalizeRect to normalize the rectangles before calling this function. |
Пример
See the example for CRect::IntersectRect.
Требования
Header: atltypes.h