Graphisoft®

Dialog ManagerVersion: 2.0

ListBox::EnableSeparatorLines

Sets or resets the separator line status of the lis box control.

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

Use SetSeparatorLineColor to set the separator line color of the list box control.
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.