Jump to content

Recommended Posts

Posted

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.

Posted

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

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...