CRect::SetRectEmpty

void SetRectEmpty( );

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, ::SetRectEmpty