CRect::SetRectEmpty

Consente a CRect un rettangolo null impostando le coordinate a zero.

void SetRectEmpty( ) throw( );

Esempio

CRect rect;
rect.SetRectEmpty();

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

Requisiti

Header: atltypes.h

Vedere anche

Riferimenti

Classe di CRect

Grafico della gerarchia

CRect::CRect

CRect::SetRect

CRect::CopyRect

CRect::operator =

CRect::IsRectEmpty

CRect::IsRectNull

SetRectEmpty