SPNM_SELECTSTRING (Compact 2013)
3/28/2014
This message selects the first spinner string that is a case-insensitive match of the specified string.
Syntax
SPNM_SELECTSTRING
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. If a match is found, the item will be selected; otherwise the current selection will not be changed.
Requirements
Header |
shellctrls.h |