Theos PowerBasic Museum 2017

Archive => Discussion - Legacy Software (PBWIN 9.0+/PBCC 5.0+) => Topic started by: Robert Sarrazin on December 29, 2008, 10:50:52 PM

Title: Drag and Drop
Post by: Robert Sarrazin on December 29, 2008, 10:50:52 PM
I have a free program: Micropic
http://bouchez.info/micropic.html
You drag and drop images and it convert to, what you want, and few option.
Was very nice, but now we need more 16 x 9 and many format, this program
is automatic 4 x 3 that all, if you have big image it crop the top or the left
depend on the seize of the picture.
We want to make a new version with PB give more flexibility, manual width and height.
The problem I try to find some information on How to drag and drop images.
If you have any Idea where I can start. If some close idea or demo on that
please let me know.
Thanks  ::)
Title: Re: Drag and Drop
Post by: Patrice Terrier on December 29, 2008, 11:01:47 PM
BassBox, MovieBox, and most of the GDImage examples that have been posted in this forum (see PhotoSetup) , will show you how to use drag and drop.

Search for:
1 - DragAcceptFiles
2 - CASE %WM_DROPFILES
3 - DragQueryFile
4 - DragFinish

...