次の方法で共有


SPNM_GETCARETINDEX (Compact 2013)

3/28/2014

This message retrieves the index of the item that currently has the focus in a spinner control. The item may or may not be selected.

Syntax

SPNM_GETCARETINDEX
  wParam = 0;
  lParam = 0;

Parameters

  • wParam
    Not used.
  • lParam
    Not used.

Return Value

On success, returns the zero-based index of the single-selection spinner control item that has the current focus, if any. On failure, returns SPN_ERR, indicating that the spinner control is not a single-selection type or that no item was currently in focus.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_SETCARETINDEX