Re: Drag and Drop Win32Lib Example Needed
- Posted by DanM Sep 03, 2010
- 1004 views
euphoric said...
DanM said...
Thanks Dan. That helped. I knew what to do with the w32HDragAndDrop message, but I wasn't able to get it to
setText( txt_FileName, params[2] )
until I put in the test you used, if length( params[2] ) > 3 then...
So, THANKS AGAIN! :)
You're welcome!
And if you uncomment the print before that test, you'll see why the event doesn't work right without the test: there are apparently THREE triggerings of the event from ONE drag'n drop, the last one returns nothing for params[2], the first one returns a single character, and the second returns the file name in params[2]. Seems to me there's something WRONG with the event being triggered 3 times for one action??
Dan