CRect::Width

Call this member function to calculate the width of a CRect object by subtracting the left value from the right value. The width can be negative.

Syntax

int Width( ) const;

At a Glance

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

See Also

CRect Overview, CRect Member Functions, Simple Value Types, CRect::Height, CRect::Size, CRect::IsRectEmpty, CRect::IsRectNull, CRect::NormalizeRect