Navigation:  thinBasic Modules > UI (User Interface) > CONTROLs > 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

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com