Share via


SPNM_GETSTATICTEXT (Compact 2013)

3/28/2014

This message retrieves the static text of a multiple-selection spinner control.

Syntax

SPNM_GETSTATICTEXT
  wParam = (WPARAM) cchBuffer;
  lParam = (LPARAM)(LPTSTR) pszBuffer;

Parameters

  • cchBuffer
    Specifies the maximum number of characters that can be stored in the buffer specified by the pszBuffer parameter.
  • pszBuffer
    Pointer to the buffer to receive the static text. The buffer must be large enough for the number of characters specified by the cchBuffer parameter.

    The application can send a SPNM_GETSTATICTEXTLEN message to retrieve the length of the static text in characters.

Return Value

On success, returns the number of characters copied into the buffer specified by the pszBuffer parameter. On failure, returns SPN_ERR, indicating that the spinner was not a multiple-selection type or that an error has occurred.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_GETSTATICTEXTLEN