SPNM_SELITEMRANGE (Compact 2013)
3/28/2014
This message selects or deselects one or more consecutive items in a multiple-selection spinner control.
Syntax
SPNM_SELITEMRANGE
wParam = (WPARAM)(BOOL) fSelect;
lParam = MAKELPARAM(wFirst, wLast);
Parameters
- fSelect
Boolean that specifies how to set the selection. If set to TRUE, the string is selected. If set to FALSE, the string is deselected.
- wFirst
Zero-based index of the first item to select.
- wLast
Zero-based index of the last item to select.
Return Value
On Success, returns SPN_OKAY. On failure, returns SPN_ERR, indicating that the spinner is not a multiple-selection type or that an error has occurred.
Remarks
This message can only specify a range that lies completely within the first 65,536 items.
Requirements
Header |
shellctrls.h |