UID | title | description | helpviewer_keywords | old-location | tech.root | ms.assetid | ms.date | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | req.redist | ms.custom | f1_keywords | dev_langs | topic_type | api_type | api_location | api_name | |||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:windowsx.ListBox_SetSel |
ListBox_SetSel macro (windowsx.h) |
Selects or deselects an item in a multiple-selection list box. You can use this macro or send the LB_SETSEL message explicitly. |
|
controls\ListBox_SetSel.htm |
Controls |
VS|Controls|~\controls\listboxes\listboxreference\listboxmacros\listbox_setsel.htm |
12/05/2018 |
ListBox_SetSel, ListBox_SetSel macro [Windows Controls], _win32_ListBox_SetSel, _win32_ListBox_SetSel_cpp, controls.ListBox_SetSel, controls._win32_ListBox_SetSel, windowsx/ListBox_SetSel |
windowsx.h |
Windows |
Windows Vista [desktop apps only] |
Windows Server 2003 [desktop apps only] |
Windows |
19H1 |
|
|
|
|
|
|
Selects or deselects an item in a multiple-selection list box. You can use this macro or send the LB_SETSEL message explicitly.
Type: HWND
A handle to the control.
Type: BOOL
TRUE to select the item, or FALSE to deselect it.
Type: int
The zero-based index of the item.