Share via


ImageList_SetBkColor

This function sets the background color for an image list.

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.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
Link Library: Commctrl.lib, Imgctl.lib.

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.