Share via


SPNM_GETCURSEL (Compact 2013)

3/28/2014

This message retrieves the index of the currently selected item.

Syntax

SPNM_GETCURSEL
  wParam = 0;
  lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

On Success, returns an integer indicating the zero-based index of the currently selected item. On failure, returns SPN_ERR, indicating that no item is currently selected, or that the list is empty.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_SETCURSEL