$Form2 = GUICreate(" FTProject [UPLOAD]", 211, 122, 403, 231, -1, BitOR($WS_EX_ACCEPTFILES,$WS_EX_TOOLWINDOW,$WS_EX_TOPMOST,$WS_EX_WINDOWEDGE)) GUICtrlSetState (-1, $GUI_DROPACCEPTED) $Label1 = GUICtrlCreateLabel("Drag a file here to start uploading!", 8, 8, 199, 17) GUICtrlSetFont(-1, 8, 800, 0, "MS Sans Serif") $Progress1 = GUICtrlCreateProgress(6, 96, 198, 17) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE _FTP_Close($Open) Exit EndSwitch msgbox(0,"",@GUI_DRAGFILE) WEnd
Unknown macro.
What did I fail?
----------------
Edit:
Theoritacally I found the problem, but not sure yet. GUISetonEvent?
Edited by Unc3nZureD, 09 August 2012 - 02:06 PM.






