BCGControlBar Pro for MFC
void CBCGPGridCtrl::SetStateImageList ( CImageList *  pImages,
BOOL  bLastIsIntermediate = FALSE,
const CSize &  sizeStateIconMargin = CSize(0, 0) 
)

Sets image list to be used by grid rows as state icons.

Use this function to add state images for the grid rows.

Set the image list and then call CBCGPGridItem::SetStateImage() to specify image index for particular grid rows.

Parameters
pImagesPoints to image list.
bLastIsIntermediateIndicates whether the last icon in the state image list is considered an intermediate state and will be shown only in the column header.
sizeStateIconMarginSpecifies the state icon margins.