BCGControlBar Pro for MFC
void CBCGPListBox::Enable ( int  nIndex,
BOOL  bEnabled = TRUE,
BOOL  bRedraw = TRUE 
)

Enables/disabled item.

Parameters
nIndexThe item's index.
bEnabledTRUE to enable, FALSE to disable.
bRedrawSpecifies whether a control should be redrawn.