BCGSuite for MFC
void CBCGPGridItem::SetImage ( int  iImage,
BOOL  bRedraw = TRUE 
)

Assigns an image to the grid item.

Call this function to assign an image to the grid item. The iImage parameter should be a valid index of an image in the grid control's image list. The image list is set using CBCGPGridCtrl::SetImageList.

Set iImage to -1 to tell the item do not display image.

Parameters
iImageSpecifies the image index.
bRedrawIf TRUE, the image item will be redrawn immediately.