Share via


SPNM_SELITEMRANGEEX (Compact 2013)

3/28/2014

This message selects or deselects one or more consecutive items in a multiple-selection spinner control.

Syntax

SPNM_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 Value

On Success, returns SPN_OKAY. On failure, returns SPN_ERR, indicating that the spinner is not a multiple-selection type or 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 deselected.

This message can only specify a range that lies completely within the first 65,536 items.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_SELITEMRANGE