This operator moves a CRect object by the specified offsets. The parameter’s x and y (or cx and cy) values are subtracted from CRect.
Use the third overloaded implementation of this operator to deflate a CRect object 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::DeflateRect, CRect::SubtractRect, CRect::operator -, CRect::operator +=