Hem / Tips & tricks
Dim lItemCount As LongConst LVM_FIRST = &H100Const LVM_GETITEMCOUNT As Long = LVM_FIRST + 4lItemCount = SendMessage(ListView1.hWnd, LVM_GETITEMCOUNT, 0, 0)' Alternativt:lItemCount = ListView1.ListItems.Count