please dont rip this site
Prev Next

ListView_SetCallbackMask info  Overview  Group

The ListView_SetCallbackMask macro changes the callback mask for a list view control. You can use this macro or explicitly send the LVM_SETCALLBACKMASK message.

BOOL ListView_SetCallbackMask(

    WND hwnd,

    UINT mask

   );

Parameters

hwnd
Handle to the list view control.
mask
Specifies the value of the callback mask. The bits of the mask indicate the item states or images for which the application stores the current state data. This value can be any combination of the following constants:

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.

Return Values

Returns TRUE if successful or FALSE otherwise.

Remarks

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 use the ListView_SetCallbackMask macro or 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.

See Also

LVM_GETCALLBACKMASK, LVM_SETCALLBACKMASK, LVN_GETDISPINFO 


file: /Techref/os/win/api/win32/mac/src/mac02_5.htm, 4KB, , updated: 2000/4/7 11:19, local time: 2024/11/29 20:31,
TOP NEW HELP FIND: 
18.117.166.193: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?
Please DO link to this page! Digg it! / MAKE!

<A HREF="http://sxlist.com/Techref/os/win/api/win32/mac/src/mac02_5.htm"> ListView_SetCallbackMask</A>

After you find an appropriate page, you are invited to your to this massmind site! (posts will be visible only to you before review) Just type a nice message (short messages are blocked as spam) in the box and press the Post button. (HTML welcomed, but not the <A tag: Instead, use the link box to link to another page. A tutorial is available Members can login to post directly, become page editors, and be credited for their posts.


Link? Put it here: 
if you want a response, please enter your email address: 
Attn spammers: All posts are reviewed before being made visible to anyone other than the poster.
Did you find what you needed?

 

Welcome to sxlist.com!


Site supported by
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!

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

  .