LVITEMINDEX structure (commctrl.h)

Contains index information about a list-view item.

Syntax

typedef struct tagLVITEMINDEX {
  int iItem;
  int iGroup;
} LVITEMINDEX, *PLVITEMINDEX;

Members

iItem

Type: int

The index of the item.

iGroup

Type: int

The index of the group the item belongs to.

Remarks

This structure is used with the ListView_GetItemIndexRect, ListView_GetNextItemIndex, and ListView_SetItemIndexState macros. It is also used with the LVM_GETITEMINDEXRECT, LVM_GETNEXTITEMINDEX, and LVM_SETITEMINDEXSTATE messages.

Requirements

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