AutoHotkey Community

It is currently May 27th, 2012, 1:07 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: May 4th, 2008, 6:48 am 
Offline

Joined: February 8th, 2008, 9:17 pm
Posts: 31
Location: VA
is there an easy way to process a drag n drop to a second window while keeping the functionality of the first window's drag n drop
so far the GuiDropFiles label does not register dropped files to the 2nd window even when I enabled drag n drop via 'Gui, 2: +E0x10'

I think there might be a solution with OnMessage() to detect the drop and then handle the drop based on the hwnd of the window it was dropped on but it seems overly complicated if there is another way

thanks in advance


Last edited by no1readsthese on May 4th, 2008, 8:04 pm, edited 1 time in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 4th, 2008, 11:06 am 
I don“t see your problem.
Drag and drop with multiple Guis works flawless:
Code:
gui, show, w200 h200 x200 y200, 1
gui, 2:show, w300 h200 x405 y200, 2
return

GuiDropFiles:
MsgBox Gui 1: %A_GuiEvent%
return

2GuiDropFiles:
MsgBox Gui 2: %A_GuiEvent%
return


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: May 4th, 2008, 8:03 pm 
Offline

Joined: February 8th, 2008, 9:17 pm
Posts: 31
Location: VA
oh I feel stupid
I forgot to add the 2 in front of GuiDropFiles.
thanks I knew there was a simple answer


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: Amandaville, BrandonHotkey, chaosad and 22 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group