Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

This structure that contains information for use in processing the LVN_ODSTATECHANGEDmessage.

Syntax

typedef struct tagNMLVODSTATECHANGE {
  NMHDR 
hdr;
  int 
iFrom;
  int 
iTo;
  UINT 
uNewState;
  UINT 
uOldState;
} NMLVODSTATECHANGE, FAR* LPNMLVODSTATECHANGE;

Members

hdr

NMHDRstructure 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

See Also