NMLVODSTATECHANGE
A version of this page is also available for
4/8/2010
This structure that contains information for use in processing the LVN_ODSTATECHANGED message.
Syntax
typedef struct tagNMLVODSTATECHANGE {
NMHDR hdr;
int iFrom;
int iTo;
UINT uNewState;
UINT uOldState;
} NMLVODSTATECHANGE, FAR* LPNMLVODSTATECHANGE;
Members
- hdr
NMHDR structure that contains additional information about the message.
- iFrom
Zero-based index of the first item in the range of items.
- iTo
Zero-based index of the last item in the range of items.
uNewStateand uOldState
Indicate the new and old states for the item or items. These members can be any valid combination of the following state flags.Value Description 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.
Requirements
Header | commctrl.h |
Windows Embedded CE | Windows CE 2.0 and later |
Windows Mobile | Windows Mobile Version 5.0 and later |