Share via


NMLVODSTATECHANGE (Compact 2013)

3/28/2014

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

Header

commctrl.h

See Also

Reference

List-View Controls Structures
LVN_ODSTATECHANGED
NMHDR