On a form I have two listbox controls, each having a few list items. I would like my users to be able to drag an item from one listbox over the another listbox. When the user drops the item I want to draw a line between the item the dragged to the item where they dropped it.
Can anyone tell me how I can programmatically find the exact location of the item that is dropped? I've tried Cursor.Position.X and even the System.Windows.Forms.DragEventArgs argument, but they do not seem to work.
I'd appreciate any kind of help.
-lucyv
Can anyone tell me how I can programmatically find the exact location of the item that is dropped? I've tried Cursor.Position.X and even the System.Windows.Forms.DragEventArgs argument, but they do not seem to work.
I'd appreciate any kind of help.
-lucyv