ListView_GetItemText

<< Click to Display Table of Contents >>

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

ListView_GetItemText

 

Description

 

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

 

Syntax

 

sText = ListView_GetItemText(hWnd, ctrlID [, RowIndex [, nSubItem [, MaxSize]]] )

 

Returns

 

String

 

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

Yes

Row index. Starts from 1.

If RowIndex <= 0, current selected item is considered.

nSubItem

Number

Yes

The index of the subitem. Starts from 1.

If Zero, 1 is assumed

MaxSize

Number

Yes

The max number of chars to return. If zero, a max of 2000 bytes will be returned.

 

Remarks

 

Restrictions

 

See also

 

Examples