Share via


SPNM_SETITEMDATA (Compact 2013)

3/28/2014

This message is sent by an application to set a 32-bit value associated with the specified item in a spinner.

Syntax

SPNM_SETITEMDATA
    wParam = (WPARAM) iIndex;
    lParam = (LPARAM) dwData;

Parameters

  • iIndex
    Zero-based index of the item for which the data is to be set.
  • dwData
    Specifies the 32-bit value to be associated with the item.

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_GETITEMDATA