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.
int Width( ) const;
Header file: | Afxwin.h |
Platforms: | |
Versions: | 1.0 and later |
Complete documentation: | Visual C++ documentation |
CRect Overview, CRect Member Functions, Simple Value Types, CRect::Height, CRect::Size, CRect::IsRectEmpty, CRect::IsRectNull, CRect::NormalizeRect