ListView_SortItems

<< Click to Display Table of Contents >>

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

ListView_SortItems

 

Description

 

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

 

Syntax

 

n = ListView_SortItems(hWnd, ctrlID, ColumnIndex, Desc, IsNumeric)

 

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

ColumnIndex

Number

No

Column index. Starts from 1

Desc

Number

No

%TRUE if column is to be sorted in descending order

IsNumeric

Number

No

%TRUE if column is to be sorted as numeric

 

Remarks

 

Restrictions

 

See also

 

Examples