Re: line size of the listview
- Posted by LarryMiller May 13, 2010
- 1721 views
The height of the text in a Listview is not a reliable measurement of the item height. The correct way to do this is to use the LVM_GETITEMRECT message.
http://msdn.microsoft.com/en-us/library/bb761049%28v=VS.85%29.aspx
I haven't used Win32lib for a long time and don't remember the proper usage in Win32lib.
I can find the necessary constants if Win32lib does not define them.