Partager via


LB_GETSEL

This message is sent by an application to retrieve the selection state of an item.

LB_GETSEL wParam = (WPARAM) index; 
  lParam = 0;

Parameters

  • index
    Zero-based index of the item.
  • lParam
    Not used.

Return Values

A value greater than zero indicates that an item has been selected. Zero indicates otherwise. LB_ERR indicates that an error has occurred.

Requirements

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

See Also

LB_SETSEL | List Box Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.