Share via


SPNM_GETTEXTLEN (Compact 2013)

3/28/2014

This message retrieves the length of a string in a spinner control.

Syntax

SPNM_GETTEXTLEN
    wParam = (WPARAM) index;
    lParam = 0;

Parameters

  • index
    Zero-based index of the string for which the length is to be retrieved.
  • lParam
    Not used.

Return Value

On success, returns the length of the string in characters, excluding the terminating NULL character. On failure, returns SPN_ERR, indicating that the index parameter does not specify a valid string index.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_GETTEXT