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 12:20, local time: 2024/8/31 16:48,
3.14.141.128: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://massmind.org/techref/os/win/api/win32/mess/src/msg13_4.htm"> LVM_SETITEMSTATE</A> |
Did you find what you needed? |
Welcome to massmind.org! |
Ashley Roll has put together a really nice little unit here. Leave off the MAX232 and keep these handy for the few times you need true RS232! |
.