Drag+Drop in a listicon
Posted: Fri Jun 12, 2020 6:39 am
Hi RASHAD,
Nice solution:
I've adapted my Move Multiple Items example to work with INSERTMARK; see my previous post.
NB*: There is a bunch of unnecessary code due to some personal preferences; I’ll probably rewrite the example at some point to be more standard.
Nice solution:
Code: Select all
InsertMark.LVINSERTMARK\cbSize = SizeOf(LVINSERTMARK)
SendMessage_(GadgetID(#ListIconGadget), #LVM_INSERTMARKHITTEST, @point, @InsertMark)
SendMessage_(GadgetID(#ListIconGadget), #LVM_SETINSERTMARK, #Null, @InsertMark)
SendMessage_(GadgetID(#ListIconGadget), #LVM_SETINSERTMARKCOLOR, #Null, $0000FF)
NB*: There is a bunch of unnecessary code due to some personal preferences; I’ll probably rewrite the example at some point to be more standard.