Sign in to follow this  
Followers 0
pekster

Accept multipile files

2 posts in this topic

I understand how to creat a GUI/ Control where I can drag a single file to (see my example below) but I do not know how to make an edit control that will accept groups of files. If you select more than one file and drag it over, only one gets entered instead of the group.

#include <GuiConstants.au3>

GuiCreate("Sample", 200, 150, -1, -1, 0, $WS_EX_ACCEPTFILES)
  $edit = GuiSetControl("edit", "", 0, 0, 200, 100)
    GuiSetControlEx(-1, $GUI_ACCEPTFILES)
  GuiSetControl("label", "Drag files to input above for processing", 0, 100, _
   200, 20)
GuiShow()

While GuiMsg() <> -3
  Sleep(100)
WEnd

[font="Optima"]"Standing in the rain, twisted and insane, we are holding onto nothing.Feeling every breath, holding no regrets, we're still looking out for something."[/font]Note: my projects are off-line until I can spend more time to make them compatable with syntax changes.

Share this post


Link to post
Share on other sites



I understand how to creat a GUI/ Control where I can drag a single file to (see my example below) but I do not know how to make an edit control that will accept groups of files.  If you select more than one file and drag it over, only one gets entered instead of the group.

#include <GuiConstants.au3>

GuiCreate("Sample", 200, 150, -1, -1, 0, $WS_EX_ACCEPTFILES)
  $edit = GuiSetControl("edit", "", 0, 0, 200, 100)
    GuiSetControlEx(-1, $GUI_ACCEPTFILES)
  GuiSetControl("label", "Drag files to input above for processing", 0, 100, _
   200, 20)
GuiShow()

While GuiMsg() <> -3
  Sleep(100)
WEnd
Perhaps Jon find a solution, but when I look at it it was really too many code for the facilty :D

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