Navigation: thinBasic Modules > UI (User Interface) > CONTROLs > Dedicated Control Functions > LISTVIEW Control > ListView: Items functions > ListView_GetItemText |
|
Description
Gets the text of a list-view item or subitem.
Syntax
sText = ListView_GetItemText(hWnd, ctrlID [, RowIndex [, nSubItem [, MaxSize]]] )
Returns
String
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 |
Yes |
Row index. Starts from 1. If RowIndex <= 0, current selected item is considered. |
nSubItem |
Number |
Yes |
The index of the subitem. Starts from 1. If Zero, 1 is assumed |
MaxSize |
Number |
Yes |
The max number of chars to return. If zero, a max of 2000 bytes will be returned. |
Remarks
Restrictions
See also
Examples
© 2004-2008 thinBasic. All rights reserved. | Version 1.7.0.0 | Web Site: http://www.thinbasic.com |