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;
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 image list previously associated with the control if successful; NULL otherwise.
file: /Techref/os/win/api/win32/mess/src/msg12_28.htm, 2KB, , updated: 2000/4/7 11:20, local time: 2024/11/23 15:01,
18.226.187.210:LOG IN
|
©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/mess/src/msg12_28.htm"> LVM_SETIMAGELIST</A> |
Did you find what you needed? |
Welcome to sxlist.com!sales, advertizing, & kind contributors just like you! Please don't rip/copy (here's why Copies of the site on CD are available at minimal cost. |
Welcome to sxlist.com! |
.