This seems to work, though you can't move an item to the end but I haven't worried about that. #include <GuiConstantsEx.au3> #include <WindowsConstants.au3> #include <GuiListView.au3> #include <GuiImageList.au3> Global $bDragging = False Global $iLast_Index = -1 Global $a_Index[2]; From and to Global $iLastLinetop, $iLastLineLeft Global $drawing = False; to ensure mousemove doesn't cause more than one line to be drawn $Main_GUI = GUICreate("Drag & Drop LV Item", 22