Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Sets CRect equal to the union of CRect and rect.
void operator|=(
const RECT& rect
) throw( );
Parameters
- rect
Contains a CRect or RECT.
Remarks
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.
Example
CRect rect1(100, 0, 200, 300);
CRect rect2( 0, 100, 300, 200);
rect1 |= rect2;
CRect rectResult(0, 0, 300, 300);
ASSERT(rectResult == rect1);
Requirements
Header: atltypes.h