I should probably add a DeleteListBoxItem() command, but for now you can use
SendMessage( lst, "LM_DELETEITEM", Index )
If there are 6 items in the list box and you delete item 4, items 5 and 6 move up a place.
AddListBoxItem() doesn't insert the item you add inbetween 2 existing items, it just replaces anything that is in the same spot you're adding to.
SendMessage( lst, "LM_DELETEITEM", Index )
If there are 6 items in the list box and you delete item 4, items 5 and 6 move up a place.
AddListBoxItem() doesn't insert the item you add inbetween 2 existing items, it just replaces anything that is in the same spot you're adding to.