Hello,
how can I get the height of a item in a standard CListBox?
Is there something like GetSystemMetrics for that?
I want to create a customized listbox with the standard height!
thx.
Printable View
Hello,
how can I get the height of a item in a standard CListBox?
Is there something like GetSystemMetrics for that?
I want to create a customized listbox with the standard height!
thx.
The item height for non-overdrawn listbox depends on the font used by the control. So there is no anything "like GetSystemMetrics for that".
BTW, did you try CListBox::GetItemHeight?