ImageList_MergeImageList_Merge*
*Contents  *Index  *Topic Contents
*Previous Topic: ImageList_LoadImage
*Next Topic: ImageList_Read

ImageList_Merge


HIMAGELIST ImageList_Merge(
    HIMAGELIST himl1, 	
    int i1, 	
    HIMAGELIST himl2, 	
    int i2, 	
    int dx, 	
    int dy	
   );	

Creates a new image by combining two existing images. The function also creates a new image list in which to store the image.

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

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.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.