Notifications
Clear all

[Closed] Drag and Drop Files into a Listview

Hi,

does anyone know if it’s possible to allow drag and drop of files from the windows explorer into a ListView created by Maxscript. What I tried is this:

.
.
ActiveXControl lst “MSComctlLib.ListViewCtrl”
.
.
lst.oleDropMode = #ccOLEDropManual;
.
.
on lst OLEDragDrop &Data &Effect &Button &shift &x &y do
(
print “Drag Drop”;
print data;
showproperties data;
)
.
.

This works but the data I get is not an array of filenames (which is what I expected) but a MSDispatch object with no properties…

Can anyone help me?

Cheers
Andreas

1 Reply
 PEN

What version of Max are you in? If it is 9 then try .net listView, you might have more luck.