Share via


ImageList_Merge (Windows CE 5.0)

Send Feedback

This function creates a new image by combining two existing images. ImageList_Merge also creates a new image list to store the image.

HIMAGELISTWINAPIImageList_Merge(HIMAGELISThiml1, inti1, HIMAGELISThiml2, inti2, intdx, intdy );

Parameters

  • himl1
    [in] Handle to the first image list.
  • i1
    [in] Index of the first existing image.
  • himl2
    [in] Handle to the second image list.
  • i2
    [in] Index of the second existing image.
  • dx and dy
    [in] Offset of the second image relative to the first image.

Return Values

The handle to the new image list indicates success. NULL indicates failure.

Remarks

The new image consists of the second existing image drawn transparently over the first. The mask for the new image is the result of performing a logical OR operation on the masks of the two existing images.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Commctrl.h.
Link Library: Commctrl.lib, Imgctl.lib.

See Also

ImageList_Create

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.