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;
Value |
Meaning |
LVSIL_NORMAL |
Image list with large icons |
LVSIL_SMALL |
Image list with small icons |
LVSIL_STATE |
Image list with state images |
Returns the handle of the specified image list if successful or NULL otherwise.