Share via


SPNM_FINDSTRING (Compact 2013)

3/28/2014

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

Syntax

SPNM_FINDSTRING
    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 prefix 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 an unsuccessful search.

Requirements

Header

shellctrls.h

See Also

Reference

Spinner Controls Messages
SPNM_FINDSTRINGEXACT