ImageList_SetBkColor

This function sets the background color for an image list.

At a Glance

Header file: Commctrl.h
Windows CE versions: 1.0 and later

Syntax

COLORREF WINAPI ImageList_SetBkColor(HIMAGELIST himl,
COLORREF
clrBk);

Parameters

himl

[in] Handle to the image list.

clrBk

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

Return Values

The previous background color indicates success. CLR_NONE indicates failure.