SPNM_SETSEL (Compact 2013)
3/28/2014
This message sets the selection state of an item in a multiple-selection spinner control.
Syntax
SPNM_SETSEL
wParam = (WPARAM)(BOOL) fSelect;
lParam = (LPARAM)(UINT) index;
Parameters
- fSelect
Boolean that specifies how to set the selection state. If set to TRUE, the item will be selected. If set to FALSE, the item will be deselected.
- index
Zero-based index of the item whose state is to be set. If index is set to -1, the selection state specified by the fSelect parameter will be applied to all items in the spinner control.
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.
Requirements
Header |
shellctrls.h |