Jump to Real's How-to Main page

Get the number of items in a Treeview

CONSTANT integer TV_FIRST = 4352
CONSTANT integer TVM_GETCOUNT = TV_FIRST + 5

long ll_tvitemcount
ll_tvitemcount = Send ( handle(tv_1), TVM_GETCOUNT, 0, 0 )

If you find this article useful, consider making a small donation
to show your support for this Web site and its content.

Written and compiled by Réal Gagnon ©1998-2005
[ home ]