NMLVODSTATECHANGE structure (commctrl.h)

Structure that contains information for use in processing the LVN_ODSTATECHANGED notification code.

Syntax

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

Members

hdr

Type: NMHDR

NMHDR structure that contains additional information about the notification.

iFrom

Type: int

Zero-based index of the first item in the range of items.

iTo

Type: int

Zero-based index of the last item in the range of items.

uNewState

Type: UINT

Value indicating the new state for the item or items. This member can be any valid combination of the list-view item states.

uOldState

Type: UINT

Value indicating the old state for the item or items. This member can be any valid combination of the list-view item states.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Header commctrl.h