Before I spend a lot of time banging my head... Does Win32GUI support
Drag-n-drop?
Johan Lindstrom has added this functionality - but it requires recompiling
GUI.xs.* Johan's stuff is here (he'll probably post it as well, but just in
case):
http://www.bahnhof.se/~johanl/perl/Win32GUI/DragDrop.pm
You might be able to do it with Win32::API - but I seem to remember Johan
having some trouble getting that to work. Maybe a loop with DoEvents and
PeekMessage will solve the problem he had with missing 9 out of every 10
messages - but maybe he tried that and it didn't work.
*If you really need DragDrop, you can download Borland's compiler for free,
although you have to register with them. I don't have the link, but go to
www.borland.com and search. Then look in your perl documentation on how to
turn the XS file into C code (there's a program to do this that's included
with perl). Then you can compile that. Since all you have to do is add
Johan's stuff to your GUI.xs, you won't need to do any C programming
yourself. (Of course, I could be wasting my time giving you this
information, as you may be a C programmer.) I haven't bothered to do it, as
I've never needed DragDrop for anything. Also, since I'm not a C
programmer, I may have missed some steps here. Anyone who knows more about
this subject may feel free to correct my misapprehensions.
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp