I'm trying to drag an item from one list box to another and have the item be inserted in the destination list box in the right place. At first I used the ListView control and the HitTest method, which worked fine. But the ListView control doesn't have all the functionality that I need, so I gave up on it.

Now I'm trying to use the ListBox; the only thing that seems to be missing is a function like HitTest that I can use to find the current list item based on the cursor position. I know that if I do some testing based on the topindex property, I could get past the problem. But that seems like it's a big work-around.

Do any of you guys know an easy way of accomplishing this?

Thanks!

______

Bob K.