Compartilhar via


LB_SELITEMRANGEEX (Windows CE 5.0)

Send Feedback

This message is sent by an application to select one or more consecutive items in a multiple-selection list box.

LB_SELITEMRANGEEX wParam = (WPARAM)wFirst;lParam = (LPARAM)wLast);

Parameters

  • wFirst
    Zero-based index of the first item to select.
  • wLast
    Zero-based index of the last item to select.

Return Values

LB_ERR indicates that an error has occurred.

Remarks

If the wFirst parameter is less than the wLast parameter, the specified range of items is selected. If wFirst is greater than wLast, the selection is removed from the specified range of items.

Use this message only with multiple-selection list boxes.

This message can select a range only within the first 65,536 items.

Requirements

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

See Also

LB_SELITEMRANGE | LB_SETSEL | List Boxes Messages

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.