ListView_SetItemText

<< Click to Display Table of Contents >>

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

ListView_SetItemText

 

Description

 

Changes the text of a list-view item or subitem.

 

Syntax

 

n = ListView_SetItemText(hWnd, ctrlID, RowIndex, ColumnIndex, sText)

 

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 ...

RowIndex

Number

No

Row index. Starts from 1.

If RowIndex = -1, current selected item is considered.

ColumnIndex

Number

No

Column index. Starts from 1

sText

String

No

A string containing the item text

 

Remarks

 

Restrictions

 

See also

 

Examples