CRect::operator -

Syntax

CRect operator –( POINT point ) const;

Parameters

point

Contains a POINT or CPoint.

Remarks

A new CRect that is equal to CRect displaced by –point. Moves the Rectpoint.x units along the x-axis and –point.y units along the y-axis. The x and y parameters are subtracted from CRect's dimensions.

Return Value

The CRect resulting from the offset by point.

See Also

CRect::OffsetRect