ListView_SetItemSelected

<< Click to Display Table of Contents >>

Navigation:  ThinBASIC Modules > UI (User Interface) > CONTROLS > Control Types > ListView Control > Listview Control Commands > ListView: Items functions >

ListView_SetItemSelected

 

Description

 

Sets whether the item is selected.

 

Syntax

 

n = ListView_SetItemSelected(hWnd, ctrlID, lItem, lEnable)

 

Returns

 

Number

 

Parameters

 

Name

Type

Optional

Meaning

hWnd

Number

No

Handle of the dialog containing the list-view control

ctrlID

Number

No

Control identifier assigned to the control during CONTROL ADD ...

lItem

Number

No

Row index. Starts from 1

lEnable

Number

No

Set %TRUE or %FALSE

 

Remarks

 

Restrictions

 

See also

 

Examples