LB_GETTOPINDEX

This message is sent by an application to retrieve the index of the first visible item in a list box. Initially the item with index zero is at the top of the list box, but if the list box contents have been scrolled another item may be at the top.

LB_GETTOPINDEX wParam = 0; 
  lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Values

The index of the first visible item in the list box indicates success.

Requirements

OS Versions: Windows CE 1.0 and later.
Header: Winuser.h.

See Also

LB_SETTOPINDEX | List Box Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.