The LVM_SETCALLBACKMASK message changes the callback mask for a list view control. You can send this message explicitly or by using the ListView_SetCallbackMask macro.
LVM_SETCALLBACKMASK wParam = (WPARAM) (UINT) mask; lParam = 0;
Value |
Meaning |
LVIS_CUT |
The item is marked for a cut-and-paste operation. |
LVIS_DROPHILITED |
The item is highlighted as a drag-and-drop target. |
LVIS_FOCUSED |
The item has the focus. |
LVIS_SELECTED |
The item is selected. |
LVIS_OVERLAYMASK |
The application stores the image list index of the current overlay image for each item. |
LVIS_STATEIMAGEMASK |
The application stores the image list index of the current state image for each item. |
For more information about overlay images and state images, see List View Image Lists.
Returns TRUE if successful or FALSE otherwise.
The callback mask of a list view control is a set of bit flags that specify the item states for which the application, rather than the control, stores the current data. The callback mask applies to all of the control’s items, unlike the callback item designation, which applies to a specific item. The callback mask is zero by default, meaning that the list view control stores all item state information. After creating a list view control and initializing its items, you can send the LVM_SETCALLBACKMASK message to change the callback mask. To get the current callback mask, send the LVM_GETCALLBACKMASK message.
For more information, see Callback Items and the Callback Mask.
ListView_SetCallbackMask, LVM_GETCALLBACKMASK, LVN_GETDISPINFO
file: /Techref/os/win/api/win32/mess/src/msg12_25.htm, 3KB, , updated: 2000/4/7 12:20, local time: 2024/8/25 20:16,
18.222.164.93: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/msg12_25.htm"> LVM_SETCALLBACKMASK</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! |
.