Partilhar via


CTreeCtrl::GetItemHeight

Esta função de membro implementa o comportamento do Win32 mensagem TVM_GETITEMHEIGHT, conforme descrito no Windows SDK.

SHORT GetItemHeight( ) const;

Valor de retorno

A altura do item, em pixels.

Exemplo

// Double the height of the items.
SHORT sHeight = m_TreeCtrl.GetItemHeight();
m_TreeCtrl.SetItemHeight(2 * sHeight);

Requisitos

Cabeçalho: afxcmn.h

Consulte também

Referência

Classe CTreeCtrl

Gráfico de hierarquia

CTreeCtrl::SetItemHeight

Outros recursos

CTreeCtrl membros