Reference

ImageList_ReplaceIcon(3w)

NAME

ImageList_ReplaceIcon (COMCTL32.@)

SYNOPSIS

INT ImageList_ReplaceIcon
(
HIMAGELIST himl,
INT nIndex,
HICON hIcon
)

DESCRIPTION

Replaces an image in an image list using an icon.

PARAMS

himl [In] handle to image list.

i [In] image index.

hIcon [In] handle to icon.

RETURNS

Success: index of the replaced image

Failure: -1

IMPLEMENTATION

Declared in "commctrl.h".

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

Debug channel "imagelist".

History