I'm looking to find a way that when you drop *any* window on top of the GUI, a messagebox will indicate the WinTitle of the dropped window. Much like this:
Code: Select all
Gui, Show, w200 h200
Return
GuiDropFiles:
MsgBox, %A_GuiEvent%
Return
I have some code that will work, but it monitors the active window that is being dragged and dropped, and then checks the window it was dropped on before it continues (this is kind of reverse of what I'm looking to do- I don't want to actively monitor the window which is being dragged and dropped, instead I want the window underneath in which another window is being dropped upon to do the montoring). I was hoping to find a way for the master GUI (the w200 h200 one as seen in the script above), to recognize when any window has been dropped on it, and then get the dropped window's WinTitle.
Can this be done?