Partager via


ImageList_SetBkColor (Windows Embedded CE 6.0)

1/6/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

See Also

Reference

Image List Functions