Reference

ImageList_Add(3w)

NAME

ImageList_Add (COMCTL32.@)

SYNOPSIS

INT ImageList_Add
(
HIMAGELIST himl,
HBITMAP hbmImage,
HBITMAP hbmMask
)

DESCRIPTION

Add an image or images to an image list.

PARAMS

himl [In] handle to image list.

hbmImage [In] handle to image bitmap.

hbmMask [In] handle to mask bitmap.

RETURNS

Success: Index of the first new image.

Failure: -1

IMPLEMENTATION

Declared in "commctrl.h".

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

Debug channel "imagelist".

History