This documentation is archived and is not being maintained.

CRect::SetRectEmpty 

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


void SetRectEmpty( ) throw( );

CRect rect;
rect.SetRectEmpty();

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