ImageList_AddMasked.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

ImageList_AddMasked (COMCTL32.@)

SYNOPSIS

INT ImageList_AddMasked
 (
  HIMAGELIST himl,
  HBITMAP    hBitmap,
  COLORREF   clrMask
 )

DESCRIPTION

Adds an image or images to an image list and creates a mask from the specified bitmap using the mask color.

PARAMS

himl [In] handle to image list.

hBitmap [In] handle to bitmap.

clrMask [In] mask color.

RETURNS

Success: Index of the first new image.

Failure: -1

IMPLEMENTATION

Defined in "commctrl.h".

Implemented in "dlls/comctl32/imagelist.c".

Debug channel "imagelist".