thanks for you quick reply! i am using LVM_GETNEXTITEM now. i stumbled over the line "The specified item is itself excluded from the search" on MSDN, and modified my code so it works with top-down deletion:
iWalk = SendMessage( _hView, LVM_GETNEXTITEM, iWalk - 1, LVNI_SELECTED );
------------------------------------------- My website: http://www.hartwork.org