Compartilhar via


CRect::SetRectEmpty

Torna a CRect um retângulo nulo todas as coordenadas definindo a zero.

void SetRectEmpty( ) throw( );

Exemplo

CRect rect;
rect.SetRectEmpty();

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

Requisitos

Cabeçalho: atltypes.h

Consulte também

Referência

Classe de CRect

Gráfico de hierarquia

CRect::CRect

CRect::SetRect

CRect::CopyRect

CRect::operator =

CRect::IsRectEmpty

CRect::IsRectNull

SetRectEmpty