Share via


ImageList_SetBkColor (Compact 2013)

3/28/2014

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

See Also

Reference

Image List Functions