Does anyone know how I can fix it
itemint = SendMessage (hwndList, LVM_GETNEXTITEM, -1, LVNI_SELECTED)) while {itemint! = -1} {itemint = SendMessage (hwndList, LVM_GETNEXTITEM, item, LVNI_SELECTED); ////} which fails to find the ones that have the first (least index) item selected
You do not need to send message SendMessage Write this for loop as.
No comments:
Post a Comment