Share via


NMLVODSTATECHANGE

This structure that contains information for use in processing the LVN_ODSTATECHANGED message.

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.
  • uNewState and 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

OS Versions: Windows CE 2.0 and later.
Header: Commctrl.h.

See Also

LVN_ODSTATECHANGED | NMHDR | List-View Controls Structures

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.