CRect::operator |=

Use this operator to set a CRect object equal to the union of itself and the argument passed in the rect parameter. The union is the smallest rectangle that contains both source rectangles.

void operator |=( const RECT& rect );

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CRect Overview, CRect Operators, Simple Value Types, CRect::operator |, CRect::operator &=, CRect::UnionRect, CRect::NormalizeRect