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.
iImage | Specifies the image index. |
bRedraw | If TRUE, the image item will be redrawn immediately. |