Share via


SPNM_GETSELITEMS (Compact 2013)

3/28/2014

This message retrieves an array of integers which specify the indices of selected items in a multiple-selection spinner.

Syntax

SPNM_GETSELITEMS
  wParam = (WPARAM) cItems;
  lParam = (LPARAM)(LPINT) lpnItems;

Parameters

  • cItems
    Specifies the maximum number of selected items whose indices are to be placed in the buffer specified by the lpnItems parameter.
  • lpnItems
    Long pointer to a buffer large enough for the number of integers specified by the cItems parameter.

Return Value

On success, returns the number of item indices placed into the buffer. On failure, returns SPN_ERR, indicating that the spinner is not a multiple-selection type or that invalid parameters have been provided.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_GETSELCOUNT