Sign in to follow this  
Followers 0
steyen

Drag 'n Drop for files

4 posts in this topic

Hello Community,

i have a question for the drag 'n drop usability within guis.

i tried to make a gui accepting files like this

$frmSAR = GUICreate("SKGeiger - Search And Replace", 626, 445, 193, 125, -1, $WS_EX_ACCEPTFILES)

then create a list on it and give this list the drop accepted property.

$lstFiles = GUICtrlCreateList("", 8, 8, 609, 240)

GUICtrlSetState(-1, $GUI_DROPACCEPTED)

But like described in the help it only accepted one file with the var @GUI_DragFile, also when i select more than one file with drag 'n drop.

Is there another possibility to catch an array of files with drag 'n drop???

Thanks for your effort

Steyen


Never Give Up, Never Surrender. [u]My Scripts:[/u] [list=1][*]SKGeiger Search 'N Replace Utility[/list]

Share this post


Link to post
Share on other sites

hi

look it up the the code for the limiter audio player - it receives files by drag / drop

Share this post


Link to post
Share on other sites

Hi nobbe,

thanks for your help, i will look up for this code and hope to find the solution.

Greetings steyen


Never Give Up, Never Surrender. [u]My Scripts:[/u] [list=1][*]SKGeiger Search 'N Replace Utility[/list]

Share this post


Link to post
Share on other sites

Let me say thanks, because this script do the job.

it has a functionality with a shell32.dll call which do the catch of more than one drag 'n drop files.

if i have completed my script i will post it in the example scripts so anyone else can use this.

Greetings steyen


Never Give Up, Never Surrender. [u]My Scripts:[/u] [list=1][*]SKGeiger Search 'N Replace Utility[/list]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0