Delen via


CRect::SetRectEmpty

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

void SetRectEmpty( ) throw( );

Example

CRect rect;
rect.SetRectEmpty();

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

Requirements

Header: atltypes.h

See Also

Reference

CRect Class

Hierarchy Chart

CRect::CRect

CRect::SetRect

CRect::CopyRect

CRect::operator =

CRect::IsRectEmpty

CRect::IsRectNull

SetRectEmpty