ImageList_CopyImageList_Copy*
*Contents  *Index  *Topic Contents
*Previous Topic: ImageList_BeginDrag
*Next Topic: ImageList_Create

ImageList_Copy


BOOL ImageList_Copy(
    HIMAGELIST himlDst,
    int        iDst,
    HIMAGELIST himlSrc,
    int        iSrc,
    UINT       uFlags);

Copies images within a given image list.

himlDst and himlSrc
Handle to an image list that is the target of the copy operation. In current versions of Windows®, both parameters must be identical.
iDst
Zero-based index of the image to be used as the destination of the copy operation.
iSrc
Zero-based index of the image to be used as the source of the copy operation.
uFlags
Bit flag value that specifies the type of copy operation to be made. This parameter can be one of the following values:
ILCF_MOVE The source image is copied to the destination image's index. This operation results in multiple instances of a given image.
ILCF_SWAP The source and destination images exchange positions within the image list.

Version 4.70


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