CRect::SetRectEmpty

voidSetRectEmpty();

Remarks

Makes CRect a null rectangle by setting all coordinates to zero.

Example

CRect rect;
rect.SetRectEmpty();

// rect is now (0, 0, 0, 0)
ASSERT(rect.IsRectEmpty());

CRect OverviewClass MembersHierarchy Chart

See Also   CRect::CRect, CRect::SetRect, CRect::CopyRect, CRect::operator =, CRect::IsRectEmpty, CRect::IsRectNull,