Share via


SPNM_SETCURSEL (Compact 2013)

3/28/2014

This message selects the specified string in a single-selection spinner control.

Syntax

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

Parameters

  • iIndexStart
    Zero-based index of the string to be selected.
  • lParam
    Not used.

Return Value

On success, returns SPN_OKAY. On failure, returns SPN_ERR, indicating that the spinner is not a single-selection type or that an error has occurred.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_GETCURSEL