SHORT GetItemHeight( ) const;
Return Value
The height of the item, in pixels.
Remarks
This member function implements the behavior of the Win32 message TVM_GETITEMHEIGHT, as described in the Platform SDK.
Example
// The pointer to my tree control.
extern CTreeCtrl* pmyTreeCtrl;
// Double the height of the items.
SHORT sHeight = pmyTreeCtrl->GetItemHeight();
pmyTreeCtrl->SetItemHeight(2*sHeight);
CTreeCtrl Overview | Class Members | Hierarchy Chart
See Also CTreeCtrl::SetItemHeight