#Include <GUIConstantsEx.au3>
#Include <WindowsConstants.au3>
$hForm = GUICreate('', 200, 200, -1, -1, -1, $WS_EX_ACCEPTFILES)
$iInputDrag = GUICtrlCreateLabel('', 0, 0, 200, 200)
GUICtrlSetState(-1, 136)
GUISetState ()
While 1
Switch GUIGetMsg()
Case $GUI_EVENT_DROPPED
MsgBox(0, '', @GUI_DRAGFILE)
Case $GUI_EVENT_CLOSE
Exit
EndSwitch
WEnd