Page 2 of 2

Drag+Drop in a listicon

Posted: Fri Jun 12, 2020 6:39 am
by JHPJHP
Hi RASHAD,

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)
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.

Re: Drag+Drop in a listicon

Posted: Fri Jun 12, 2020 11:36 am
by coffee
Thanks JHPJHP and RASHAD - you both really helped me.