This method calculates the width of a CRect object by subtracting the left value from the right value. The width can be negative.
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 |
int Width( ) const;
CRect::Height, CRect::Size, CRect::IsRectEmpty, CRect::IsRectNull, CRect::NormalizeRect