Rediger

Del via


LB_GETTOPINDEX message

Gets the index of the first visible item in a list box. Initially the item with index 0 is at the top of the list box, but if the list box contents have been scrolled another item may be at the top. The first visible item in a multiple-column list box is the top-left item.

Parameters

wParam

Not used; must be zero.

lParam

Not used; must be zero.

Return value

The return value is the index of the first visible item in the list box.

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_SETTOPINDEX