You can use the
ItemHeight[
^] property, but using this property is not trivial (your
ComboBox
must be owner-drawn). Read the remarks section from the
MSDN link for
ItemHeight
property.
Also check out
MeasureItem[
^]. This page contains a very useful example for you. ;)
Oh, you CAN set it - and for ListBoxes, too.
Public Const CB_SETITEMHEIGHT = &H153
Public Const CB_GETITEMHEIGHT = &H154
Public Const LB_SETITEMHEIGHT = &H1A0
Public Const LB_GETITEMHEIGHT = &H1A1
Use: SendMessage(handleOfContro, CBxx/LBxx, 0, PixelHeightInBytes);
http://msdn.microsoft.com/en-us/library/windows/desktop/bb775911(v=vs.85).aspx[
^]