QB64.org Forum

Active Forums => QB64 Discussion => Topic started by: doppler on April 07, 2022, 07:45:21 am

Title: Drop target in QB64, is it even possible.
Post by: doppler on April 07, 2022, 07:45:21 am
In case you are not familiar with what a drop target is.  It can be a box or window open by a program to accept a list of files.  To be dropped into the drop target box.   The drop location could also be a location inside a program that will process a list of files dropped there.

Using shell and dir to capture a list of files is too much sledgehammer approach to a pin prick need.  This will most certainly require a DLL call.  And I am clueless to know how.  This could be a good routine inclusion, would become a nice touch for QB64 tools.  Stuffing the clipboard would be likely the best way to get them in.

Thanks
Title: Re: Drop target in QB64, is it even possible.
Post by: justsomeguy on April 07, 2022, 08:17:28 am
You might check out this as it is part of QB64.
https://wiki.qb64.org/wiki/ACCEPTFILEDROP (https://wiki.qb64.org/wiki/ACCEPTFILEDROP)
https://wiki.qb64.org/wiki/index.php?title=_DROPPEDFILE (https://wiki.qb64.org/wiki/index.php?title=_DROPPEDFILE)
Title: Re: Drop target in QB64, is it even possible.
Post by: doppler on April 07, 2022, 11:43:22 am
Great all the back from V1.3.  How many other gems, are hidden in the wiki ?  I read all the release news for tidbits like these.  And somehow missed it.  I think I have to re-read totally the wiki.

Thanks for the pointer.
Title: Re: Drop target in QB64, is it even possible.
Post by: bplus on April 07, 2022, 12:21:52 pm
Sanmayce used this in his first post of the humongous thread:
https://qb64forum.alephc.xyz/index.php?topic=3518.0

That's where/when I first encountered those keywords.