Drag & Drop

Blitz3D Forums/Blitz3D Programming/Drag & Drop

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

There was a dll some time ago, you may find it. Don't remember by who, sorry.

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.

Ooooh thanks Vip3r that looks like just the tool for the job :)

*sweet smile*
*hides swetty armpit*

Yes the BLESS userlib is perfect for drag and drop and work as expected. I used it for Cod2Doc and that worked really great !!

Yeah, that's what I meant, thank you.

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?

Would you like the moon on a stick, aswell? :P

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.