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

ListView_EnsureVisible

Previous pageReturn to chapter overviewNext page

 

Description

 

Ensures that a list-view item is either entirely or partially visible, scrolling the list-view control if necessary.

 

Syntax

 

n = ListView_EnsureVisible(hWnd, ctrlID, nItem, PartialOK)

 

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

nItem

Number

No

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

PartialOK

Number

No

A value specifying whether the item must be entirely visible.

If this parameter is %TRUE, no scrolling occurs if the item is at least partially visible.

 

Remarks

 

Restrictions

 

See also

 

Examples

 

 

 

 

 

© 2004-2008 thinBasic. All rights reserved. Version 1.7.0.0 Web Site: http://www.thinbasic.com