Use this operator to obtain a CRect object that is the union of CRect and rect2. The union is the smallest rectangle that contains both rectangles.
CRect operator |( const RECT& rect2 ) const;
| Header file: | Afxwin.h |
| Platforms: | |
| Versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
CRect Overview, CRect Operators, Simple Value Types, CRect::UnionRect, CRect::operator |=, CRect::operator &, CRect::NormalizeRect