Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This member function implements the behavior of the Win32 message TVM_GETITEMHEIGHT, as described in the Windows SDK.
SHORT GetItemHeight( ) const;
Return Value
The height of the item, in pixels.
Example
// Double the height of the items.
SHORT sHeight = m_TreeCtrl.GetItemHeight();
m_TreeCtrl.SetItemHeight(2 * sHeight);
Requirements
Header: afxcmn.h