The LVM_SETITEMSTATE message changes the state of an item in a list view control. You can send this message explicitly or by using the ListView_SetItemState macro.
An item’s state value includes a set of bit flags that indicate the item’s state. The state value can also include image list indexes that indicate the item’s state image and overlay image.
LVM_SETITEMSTATE wParam = (WPARAM) (int) i; lParam = (LPARAM) (LV_ITEM FAR *) pitem;
If you send this message explicitly, it returns TRUE if successful or FALSE otherwise.
If you send this message implicitly by using the ListView_SetItemState macro, there is no return value.
ListView_SetItemState, LV_ITEM
file: /Techref/os/win/api/win32/mess/src/msg13_4.htm, 1KB, , updated: 2000/4/7 11:20, local time: 2024/11/25 03:50,
3.141.42.41: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://ecomorder.com/techref/os/win/api/win32/mess/src/msg13_4.htm"> LVM_SETITEMSTATE</A> |
Did you find what you needed? |
Welcome to ecomorder.com! |
Welcome to ecomorder.com! |
.