SEC_TREECLASS::SetItemHeight

UINTSEC_TREECLASS::SetItemHeight(HTREEITEMhti, UINTcyItemHeight)

Sets the height of a single tree item

Defined in: trcore.inl

Return Value

The previous height of the item

Parameters

hti

The item to set the height for

cyItemHeight

The height of the item, in pixels

Comments

This method sets the preferred height of the item. If the image or text height is larger than this value, the larger value will be used instead.