Share via


SPNM_FINDSTRINGEXACT (Compact 2013)

3/28/2014

This message retrieves the index of the first spinner string that is a case-insensitive match of the specified string.

Syntax

SPNM_FINDSTRINGEXACT
  wParam = (WPARAM) indexStart;
  lParam = (LPARAM)(LPCTSTR) lpszFind;

Parameters

  • indexStart
    Zero-based index of the item before the first item to be searched.

    When the search reaches the last item in the spinner control, it continues from the beginning of the spinner and ends at the item specified by the indexStart parameter.

    If indexStart is -1, the entire spinner is searched from the beginning.

  • lpszFind
    Long pointer to a null-terminated string that contains the string to search for.

    The search not case-sensitive.

Return Value

On success, returns the zero-based index of the matching item. On failure, returns SPN_ERR, indicating that the search was not successful.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_FINDSTRING