CTreeCtrl::SetItemHeight
Visual Studio 2005
This member function implements the behavior of the Win32 message TVM_SETITEMHEIGHT, as described in the Platform SDK.
SHORT SetItemHeight( SHORT cyHeight );
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.
See the example for CTreeCtrl::GetItemHeight.
Reference
CTreeCtrl ClassHierarchy Chart
CTreeCtrl::GetItemHeight