CRect::IsRectNull
Determines whether the top, left, bottom, and right values of CRect are all equal to 0.
BOOL IsRectNull( ) const throw( );
Возвращаемое значение
Nonzero if CRect's top, left, bottom, and right values are all equal to 0; otherwise 0.
Заметки
Differs from IsRectEmpty, which determines whether the rectangle is empty.
Пример
CRect rectNone(0, 0, 0, 0);
CRect rectSome(35, 50, 135, 150);
ASSERT(rectNone.IsRectNull());
ASSERT(!rectSome.IsRectNull());
// note that null means _all_ zeros
CRect rectNotNull(0, 0, 35, 50);
ASSERT(!rectNotNull.IsRectNull());
Требования
Header: atltypes.h