CRect::IsRectEmpty

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.

Syntax

BOOL IsRectEmpty( ) 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::IsRectNull, CRect::SetRectEmpty, CRect::NormalizeRect