BCGControlBar Pro for MFC
void CBCGPListBox::SetItemColorBar ( int  nIndex,
COLORREF  color 
)

Sets item's color bar.

Parameters
nIndexThe item's index.
colorThe bar's color or -1 to remove the color bar from the item.

The color bar is located on the item's left side and usually indicates the item's state.