| 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.
| pImages | Points to image list. |
| bLastIsIntermediate | Indicates whether the last icon in the state image list is considered an intermediate state and will be shown only in the column header. |
| sizeStateIconMargin | Specifies the state icon margins. |