CRect::Width

Syntax

int Width() const;

Remarks

Calculates the width of CRect by subtracting the left value from the right value. The width may be negative.

Return Value

The width of CRect.