ListView_GetCountPerPage

<< Click to Display Table of Contents >>

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

ListView_GetCountPerPage

 

Description

 

Calculates the number of items that can fit vertically in the visible area of a list-view control when in list or report view.

 

Syntax

 

n = ListView_GetCountPerPage(hWnd, ctrlID)

 

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

 

Remarks

 

Restrictions

 

Only fully visible items are counted.

 

See also

 

Examples