CTreeCtrl::SetItemHeight

SHORT SetItemHeight( SHORT cyHeight );

Return Value

The  previous height of the items, in pixels.

Parameters

cyHeight

Specifies the new height of every item in the tree view, in pixels. If this argument is less than the height of the images, then it will be set to the height of the images. If this argument is not even, it will be rounded down to the nearest even value. If this argument is -1, the control will revert to using its default item height.

Remarks

This member function implements the behavior of the Win32 message , as described in the Platform SDK.

Example

See the example for CTreeCtrl::GetItemHeight.

CTreeCtrl OverviewClass MembersHierarchy Chart

See Also   CTreeCtrl::GetItemHeight