LB_GETTOPINDEX

This message returns the index of the first visible item in a list box. Initially, item 0 is at the top of the list box, but if the list box is scrolled, another item may be at the top.

Parameters

wParam

This parameter is not used.

lParam

This parameter is not used.

Return Value

The index of the first visible item in a list box.