ImageList_Merge(3w)

ImageList_Merge3w

Usage

HIMAGELIST ImageList_Merge
(
HIMAGELIST himl1,
INT i1,
HIMAGELIST himl2,
INT i2,
INT dx,
INT dy
)

Overview

Create an image list containing a merged image from two image lists.

Params

himl1 [In] handle to first image list.

i1 [In] first image index.

himl2 [In] handle to second image list.

i2 [In] second image index.

dx [In] X offset of the second image relative to the first.

dy [In] Y offset of the second image relative to the first.

Returns

Success: The newly created image list. It contains a single image consisting of the second image merged with the first.

Failure: NULL, if either himl1 or himl2 are invalid.

Notes

- The returned image list should be deleted by the caller using ImageList_Destroy() when it is no longer required.

- If either i1 or i2 are not valid image indices they will be treated as a blank image.

Implementation

Declared in "commctrl.h".

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

Debug channel "imagelist".

Releases

5 releases since Debian 2.1 (Slink); the text changed 4 times.

  1. 2.1
  2. 4.0
  3. 5.0
  4. 6.0
  5. 7

From libwine-dev 1.4.1-4 in Debian 7 (Wheezy). Parsed by carta from the page's man source.