Call this member function to determine whether a CRect object is empty. A rectangle is empty if the width and/or height are 0 or negative. Differs from IsRectNull, which determines whether all coordinates of the rectangle are zero.
BOOL IsRectEmpty( ) 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::IsRectNull, CRect::SetRectEmpty, CRect::NormalizeRect