Skip to content

Latest commit

 

History

History
71 lines (41 loc) · 1.56 KB

lb-getanchorindex.md

File metadata and controls

71 lines (41 loc) · 1.56 KB
title description ms.assetid keywords topic_type api_name api_location api_type ms.topic ms.date
LB_GETANCHORINDEX message (Winuser.h)
Gets the index of the anchor item \ 8212;that is, the item from which a multiple selection starts. A multiple selection spans all items from the anchor item to the caret item.
vs|controls|~\controls\listboxes\listboxreference\listboxmessages\lb_getanchorindex.htm
LB_GETANCHORINDEX message Windows Controls
apiref
LB_GETANCHORINDEX
Winuser.h
HeaderDef
reference
05/31/2018

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

Requirement Value
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