LB_GETANCHORINDEX message

Gets the index of the anchor item that is, the item from which a multiple selection starts. A multiple selection spans all items from the anchor item to the caret item.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value is the index of the anchor item.

Requirements

Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Winuser.h (include Windows.h)

See also

LB_SETANCHORINDEX