Overview
Group
Quick Info

Windows NT
Yes
Win95
Yes
Win32s
Yes
Import Library
-
Header File
commctrl.h
Unicode
No
Platform Notes
None

LVM_SETIMAGELIST

The LVM_SETIMAGELIST message assigns an image list to a list view control. You can send this message explicitly or by using the ListView_SetImageList macro.

LVM_SETIMAGELIST

wParam = (WPARAM) (int) iImageList;

lParam = (LPARAM) (HIMAGELIST) himl;

Parameters

himl

Handle to the image list to assign.

iImageList

Type of image list. 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 image list previously associated with the control if successful; NULL otherwise.

See Also

ListView_SetImageList

Software for developers
Delphi Components
.Net Components
Software for Android Developers
More information resources
MegaDetailed.Net
Unix Manual Pages
Delphi Examples