Prev Next
The ListView_SetImageList macro assigns an image list to a list view
control. You can use this macro or explicitly send the LVM_SETIMAGELIST
message.
HIMAGELIST ListView_SetImageList(
HWND hwnd,
|
|
HIMAGELIST himl,
|
|
int iImageList
|
|
);
|
|
Parameters
-
hwnd
-
Handle to the list view control.
-
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
LVM_SETIMAGELIST
file: /Techref/os/win/api/win32/mac/src/mac02_8.htm, 2KB, , updated: 2000/4/7 11:19, local time: 2024/11/23 17:54,
|
| ©2024 These pages are served without commercial sponsorship. (No popup ads, etc...).Bandwidth abuse increases hosting cost forcing sponsorship or shutdown. This server aggressively defends against automated copying for any reason including offline viewing, duplication, etc... Please respect this requirement and DO NOT RIP THIS SITE. Questions? <A HREF="http://sxlist.com/techref/os/win/api/win32/mac/src/mac02_8.htm"> ListView_SetImageList</A> |
Did you find what you needed?
|
.
|