Share via


ImageList_SetBkColor

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This function sets the background color for an image list.

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 Value

The previous background color indicates success. CLR_NONE indicates failure.

Requirements

Header commctrl.h
Library commctrl.lib, Imgctl.lib
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later