Share via


SPNM_ADDSTRING (Compact 2013)

3/28/2014

This message appends a string to a spinner control.

Syntax

SPNM_ADDSTRING
    wParam = 0;
    lParam = (LPARAM)(LPCTSTR) lpszString;

Parameters

  • wParam
    Not used.
  • lpszString
    Long pointer to the null-terminated string to be added. The spinner control will only store up to 260 characters (MAX_PATH) per item.

Return Value

On success, returns the zero-based index of the string in the spinner. On failure, returns SPN_ERR, indicating that an error has occurred.

Remarks

This message appends a string at the end of the spinner control.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_DELETESTRING
SPNM_INSERTSTRING