LISTBOX duplicate drop issue

How to block duplicate drop object in a listbox ?

on DragEnter you can look through all the rows of your listbox, to see if the object already exists, and if it does, just return TRUE to stop the drop… i would also recommend changing the cursor icon to show that the drop won’t happen…