The following table shows the image list functions, with a description of the purpose of each.
| Programming element | Description |
|---|---|
| ImageList_Add | This function adds an image or images to an image list. |
| ImageList_AddMasked | This function adds an image or images to an image list, generating a mask from the specified bitmap. |
| ImageList_BeginDrag | This function begins dragging an image. |
| ImageList_Copy | This function copies images within a specified image list. |
| ImageList_Create | This function creates a new image list. |
| ImageList_Destroy | This function destroys an image list. |
| ImageList_DragEnter | This function locks updates to the specified window during a drag operation and displays the drag image at the specified position within the window. |
| ImageList_DragLeave | This function unlocks the specified window and hides the drag image, allowing the window to be updated. |
| ImageList_DragMove | This function moves the image that is being dragged during a drag-and-drop operation. |
| ImageList_DragShowNolock | This function shows or hides the image being dragged. |
| ImageList_Draw | This function draws an image list item in the specified device context (DC). |
| ImageList_DrawEx | This function draws an image list item in the specified device context (DC). |
| ImageList_DrawIndirect | This function draws an image list image based on an IMAGELISTDRAWPARAMS structure. |
| ImageList_Duplicate | This function creates a duplicate of an existing image list. |
| ImageList_EndDrag | This function ends a drag operation. |
| ImageList_GetBkColor | This function retrieves the current background color for an image list. |
| ImageList_GetDragImage | This function retrieves the temporary image list that is used for the drag image. |
| ImageList_GetIcon | This function creates an icon from an image and mask in an image list. |
| ImageList_GetIconSize | This function retrieves the dimensions of images in an image list. |
| ImageList_GetImageCount | This function retrieves the number of images in an image list. |
| ImageList_GetImageInfo | This function retrieves information about an image. |
| ImageList_LoadImage | This function creates an image list from the specified bitmap or icon resource. |
| ImageList_Merge | This function creates a new image by combining two existing images. |
| ImageList_Remove | This function removes an image from an image list. |
| ImageList_RemoveAll | This function removes an image from an image list. |
| ImageList_Replace | This function replaces an image in an image list with a new image. |
| ImageList_ReplaceIcon | This function replaces an image with an icon. |
| ImageList_SetBkColor | This function sets the background color for an image list. |
| ImageList_SetDragCursorImage | This function creates a new drag image by combining the specified image with the current drag image. |
| ImageList_SetIconSize | This function sets the dimensions of images in an image list and removes all images from the list. |
| ImageList_SetImageCount | This function resizes an existing image list. |
| ImageList_SetOverlayImage | This function adds a specified image to the list of images to be used as overlay masks. |
See Also
Send Feedback on this topic to the authors