BCGSuite for MFC
BOOL CBCGPGridCtrl::SetImageList ( UINT  nResID,
int  cxImage = 16,
COLORREF  clrTransparent = RGB(255, 0, 255),
BOOL  bAutoScale = TRUE,
BOOL  bAutoInverseIconsInDarkTheme = FALSE 
)

Sets image list to be used by grid items.

Parameters
nResIDSpecifies the image list resource ID.
cxImageSpecifies the image width.
clrTransparentSpecifies a transparent color (for 24bpp or less images).
bAutoScaleSpecifies whether image list should be automatically scaled according to current DPI.
bAutoInverseIconsInDarkThemeSpecifies whether the icons should be automatically inversed in the dark themes.
Returns
TRUE if it succeeds, FALSE if it fails.