Name

Public Const LB_SETSEL = &H185

Synopsis

wParam

True to highlight an item, False to remove the highlighting.

lParam

0-based index of the item to select.

Description

Selects an item in a list box.

Return Value

Unused, unless an error occurs, in which case LB_ERR is returned.

Get Subclassing and Hooking with Visual Basic now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.