This operator moves a CRect object by the specified offsets. The parameter’s x and y (or cx and cy) values are added to CRect.
Use the third overloaded implementation of this operator to inflate CRect by the number of units specified in each member of the parameter.
| Header file: | Afxwin.h |
| Platforms: | H/PC 2.0, Palm-size PC, H/PC Pro |
| Windows CE versions: | 1.0 and later |
| Complete documentation: | Visual C++ documentation |
void operator +=( POINT point );
void operator +=( SIZE size );
void operator +=( LPCRECT lpRect );
CRect::OffsetRect, CRect::InflateRect, CRect::operator +, CRect::operator -=