Drag & Drop

Blitz3D Forums/Blitz3D Programming/Drag & Drop

Banshee(Posted 2005) [#1]
I'm want to tackle a problem soon in my next project that i've never faced before and i'm not entirely sure where to start.

I want to support loading of drag and drop files. Does anyone know what .dll call's this involves please? I imagine it's just some kind of .dll hook or other, but as the mouse often changes when doing drag and drop I guess it's quite involved.

Any and all info in the right direction is appreciated.

Thanks


jfk EO-11110(Posted 2005) [#2]
There was a dll some time ago, you may find it. Don't remember by who, sorry.


VIP3R(Posted 2005) [#3]
Here...

BLESS (BLitz EventS System) by soja

http://www.blitzmax.com/Community/posts.php?topic=34205

Never tried it with Blitz3D, but it is supported IIRC.


Banshee(Posted 2005) [#4]
Ooooh thanks Vip3r that looks like just the tool for the job :)

*sweet smile*
*hides swetty armpit*


RepeatUntil(Posted 2005) [#5]
Yes the BLESS userlib is perfect for drag and drop and work as expected. I used it for Cod2Doc and that worked really great !!


jfk EO-11110(Posted 2005) [#6]
Yeah, that's what I meant, thank you.


Banshee(Posted 2005) [#7]
I dont suppose anyone knows how to do the process in reverse do they please? So if I display a file inside a Bltz window I can allow it to be dragged out?


big10p(Posted 2005) [#8]
Would you like the moon on a stick, aswell? :P


jfk EO-11110(Posted 2005) [#9]
I think it would be possible when you embed an explorer window in your blitzbasic window. Probably using Winblitz3d, or do it the way winBLitz3d is hooking a window on another window.