Share via


SPNM_SETCARETINDEX (Compact 2013)

3/28/2014

This message sets the focus in a spinner control to the item at the specified index.

Syntax

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

Parameters

  • index
    Zero-based index of the spinner item that is to receive the focus.
  • lParam
    Not used.

Return Value

On success, returns SPN_OKAY. On failure, returns SPN_ERR, indicating that an error has occurred.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_GETCARETINDEX