LVM_GETIMAGELIST

The LVM_GETIMAGELIST message retrieves the handle to an image list used for drawing list view items. You can send this message explicitly or by using the ListView_GetImageList macro.

LVM_GETIMAGELIST

wParam = (WPARAM) (int) iImageList;

lParam = 0;

Parameters

iImageList

Image list to retrieve. This parameter can be one of the following values:

Value Meaning
LVSIL_NORMAL Image list with large icons
LVSIL_SMALL Image list with small icons
LVSIL_STATE Image list with state images

Return Values

Returns the handle of the specified image list if successful or NULL otherwise.

See Also

ListView_GetImageList