CTreeCtrl::SetItemHeight
This member function implements the behavior of the Win32 message TVM_SETITEMHEIGHT, as described in the Windows SDK.
SHORT SetItemHeight(
SHORT cyHeight
);
Параметры
- 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.
Возвращаемое значение
The previous height of the items, in pixels.
Пример
See the example for CTreeCtrl::GetItemHeight.
Требования
Header: afxcmn.h