ListBox::EnableSeparatorLines
void EnableSeparatorLines (bool hasSeparatorLines);
Parameters
- hasSeparatorLines
true to include a one pixel-wide separator line between each two list box items, false to remove them.
Description
Having separator lines reduces the height of an item by one pixel reported by
function GetItemRect. The
GetItemHeight method is not affected
by separator lines. In other words the formula
GetItemHeight *
GetItemCount returns
the list box' client height.