CRect::operator |=

void operator |=( const RECT& rect );

Parameters

rect

Contains a CRect or RECT.

Remarks

Sets CRect equal to the union of CRect and rect. The union is the smallest rectangle that contains both source rectangles.

Note   Both of the rectangles must be normalized or this function may fail. You can call NormalizeRect to normalize the rectangles before calling this function.

CRect OverviewClass MembersHierarchy Chart

See Also   CRect::operator |, CRect::operator &=, CRect::UnionRect, CRect::NormalizeRect, ::UnionRect