BCGControlBar Pro for MFC
virtual void CBCGPCheckListBox::SetCheck ( int  nIndex,
int  nCheck,
BOOL  bRedraw = TRUE 
)
virtual

Sets the item's check state.

Parameters
nIndexThe item's index.
nCheck0 - unchecked, 1 - checked, 2 - intermidiate (if BS_AUTO3STATE or BS_3STATE were specified in SetCheckStyle())
bRedrawSpecifies whether a control should be redrawn.