CRect::operator -=

Use this operator to move 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 operator to deflate a CRect object by the number of units specified in each member of the parameter.

void operator –=( POINT point );

void operator –=( SIZE size );

void operator –=( LPCRECT lpRect );

At a Glance

Header file: Afxwin.h
Platforms:
Versions: 1.0 and later
Complete documentation: Visual C++ documentation

See Also

CRect Overview, CRect Operators, Simple Value Types, CRect::OffsetRect, CRect::DeflateRect, CRect::SubtractRect, CRect::operator -, CRect::operator +=