Share via


SPNM_GETSEL (Compact 2013)

3/28/2014

This message retrieves the selection state of an item in a multiple-selection spinner control.

Syntax

SPNM_GETSEL
  wParam = (WPARAM) index
  lParam = 0;

Parameters

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

Return Value

On success, returns a value which is greater than zero if the item is selected or zero if the item is not selected. On failure, returns SPN_ERR, indicating that the spinner is not a multiple-selection type or that an error has occurred.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_SETSEL