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/25 06:30,
18.227.0.138: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://piclist.com/Techref/os/win/api/win32/mess/src/msg13_4.htm"> LVM_SETITEMSTATE</A> |
Did you find what you needed? |
![]() o List host: MIT, Site host massmind.org, Top posters @none found - Page Editors: James Newton, David Cary, and YOU! * Roman Black of Black Robotics donates from sales of Linistep stepper controller kits. * Ashley Roll of Digital Nemesis donates from sales of RCL-1 RS232 to TTL converters. * Monthly Subscribers: Gregg Rew. on-going support is MOST appreciated! * Contributors: Richard Seriani, Sr. |
Welcome to piclist.com! |
.