ImageList_SetBkColor

The ImageList_SetBkColor function sets the background color for an image list.

COLORREF ImageList_SetBkColor(

HIMAGELIST himl,  
COLORREF clrBk  
);  

Parameters

himl

Handle to the image list.

clrBk

Background color to set. This parameter can be the CLR_NONE value; in that case, images are drawn transparently using the mask.

Return Values

If the function succeeds, the return value is the previous background color.

If the function fails, the return value is the CLR_NONE value.