WinXListView_SetSelection


WinXListView_SetSelection (hLV, iItems[])

Selects the specified items in a list view control

Parameter Description
hLV The handle of the list view control to select items in
iItems[] An array containing the indicies of the items to select

Returns

$$TRUE on success or $$FALSE on fail

Remarks

none

Examples

'select the first item
DIM iItems[0]
iItems[0] = 0
WinXListView_SetSelection (hLV, @iItems[])

Related Links

List View Controls
WinXAddListView
WinXListView_GetSelection