Navigation:  thinBasic Modules > UI (User Interface) > Dedicated Control Functions > ListView Control > ListView: Items functions >

ListView_GetCheckState

Previous pageReturn to chapter overviewNext page

 

Description

 

Returns the state of the checkbox associated with the indicated row index.

 

Syntax

 

n = ListView_GetCheckState(hWnd, ctrlID, RowIndex)

 

Returns

 

Number

%TRUE if checkbox is selected

%FALSE if checkbox is not selected

 

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

The row index of the list-view item to check. Starts from 1.

 

Remarks

 

Restrictions

 

See also

 

Examples