please dont rip this site Prev Next

LVM_GETITEMSTATE Overview  Group

The LVM_GETITEMSTATE message retrieves the state of a list view item. You can send this message explicitly or by using the ListView_GetItemState macro.

An item’s state information includes a set of bit flags, as well as image list indexes that indicate the item’s state image and overlay image.

LVM_GETITEMSTATE 

wParam = (WPARAM) (int) i; 

lParam = (LPARAM) (UINT) mask; 

 

Parameters

hwnd 
Handle to the list view control.
i
Index of the list view item.
mask
Specifies the state information to retrieve. This parameter can be a combination of the following values:

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, so it is surrounded by a standard focus rectangle. Although more than one item may be selected, only one item can have the focus.

LVIS_SELECTED

The item is selected. The appearance of a selected item depends on whether it has the focus, and on the system colors used for selection.

LVIS_OVERLAYMASK

Use this mask to retrieve the item’s overlay image index.

LVIS_STATEIMAGEMASK

Use this mask to retrieve the item’s state image index.

Return Values

Returns the current state for the specified item. The only valid bits in the return value are those that correspond to the bits set in the mask parameter.

See Also

ListView_GetItemState, LVM_SETITEMSTATE


file: /Techref/os/win/api/win32/mess/src/msg12_9.htm, 3KB, , updated: 2000/4/7 11:20, local time: 2024/11/12 23:58,
TOP NEW HELP FIND: 
3.145.58.48: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://linistepper.com/Techref/os/win/api/win32/mess/src/msg12_9.htm"> LVM_GETITEMSTATE</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?