LB_SETANCHORINDEX

This message is sent by an application to set the position of the anchor item.

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

Parameters

  • index
    Index of the new anchor item.
  • lParam
    Not used.

Return Values

Zero indicates success. LB_ERR indicates failure.

Requirements

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

See Also

LB_GETANCHORINDEX | List Box Messages

Last updated on Wednesday, April 13, 2005

© 2005 Microsoft Corporation. All rights reserved.