Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > ListView Control > ListView: Items functions >

ListView_SetItemSelected

Previous pageReturn to chapter overviewNext page

 

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