Use this operator to move 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 version of this operator to inflate CRect by the number of units specified in each member of the parameter.
void operator +=( POINT point );
void operator +=( SIZE size );
void operator +=( LPCRECT lpRect );
Header file: | Afxwin.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CRect Overview, CRect Operators, Simple Value Types, CRect::OffsetRect, CRect::InflateRect, CRect::operator +, CRect::operator -=