Jump to content

Drag 'n Drop for files


Recommended Posts

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]
Link to comment
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]
Link to comment
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
 Share

  • Recently Browsing   0 members

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