LV + drag 'n drop (WIN32LIB 57.6)
- Posted by Henri.Goffin at sbs.be Jun 08, 2002
- 444 views
Hi! I'm trying to use a drag'n drop on a ListView control: onDragAndDrop[ListView]=routine_id("ListView_onDragAndDrop") But it does not seem to ever detect it. A trace in my D'nD routine is never activated. Now if i replace the LV control by a TextEdit control the event is triggered (the trace is activated) but the control id that is passed to the event handler is 0. If instead of the onDragAndDrop[] i use the setHandler() technique, then it works fine for the TextEdit control but it still the same - i.e. no triggering - for the ListView control. BTW i have also noticed that the parameter FileName that is supposed to be passed to the event handler is actually something like {0, "c:\path\filename.ext"}. I wonder what the first element is for. Pardon me if this subject has already been debated and explained here, but i've not been able to find anything about it in the forum. Have a nice week end everybody. Henri Goffin