ListView_DeleteItem

<< Click to Display Table of Contents >>

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

ListView_DeleteItem

 

Description

 

Removes an item from a list-view control.

 

Syntax

 

n = ListView_DeleteItem(hWnd, ctrlID, RowIndex)

 

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

An index of the list-view item to delete. Starts from 1.

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

 

Remarks

 

Restrictions

 

See also

 

Examples