JonF Posted 13 hours ago Posted 13 hours ago #include <ButtonConstants.au3> #include <EditConstants.au3> #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> $Form1 = GUICreate("Test", 535, 520, 919, 435,$WS_EX_ACCEPTFILES) $Input = GUICtrlCreateEdit("", 8, 8, 520, 425) GUICtrlSetState($Input, $GUI_DROPACCEPTED) ; Enable drag and drop GUICtrlSetData($Input, "") $Close = GUICtrlCreateButton("Close", 448, 448, 75, 25) GUISetState(@SW_SHOW) While 1 $nMsg = GUIGetMsg() Switch $nMsg Case $GUI_EVENT_CLOSE Exit Case $Close Exit Case $GUI_EVENT_DROPPED ; File dropped on input box GUICtrlSetData($Input,@GUI_DragFile) EndSwitch WEnd Cursor.mp4
Nine Posted 12 hours ago Posted 12 hours ago Your GUICreate is erroneous. Should be : $Form1 = GUICreate("Test", 535, 520, 919, 435, -1, $WS_EX_ACCEPTFILES) “They did not know it was impossible, so they did it” ― Mark Twain Spoiler Block all input without UAC Save/Retrieve Images to/from Text Monitor Management (VCP commands) Tool to search in text (au3) files Date Range Picker Virtual Desktop Manager Sudoku Game 2020 Overlapped Named Pipe IPC HotString 2.0 - Hot keys with string x64 Bitwise Operations Multi-keyboards HotKeySet Recursive Array Display Fast and simple WCD IPC Multiple Folders Selector Printer Manager GIF Animation (cached) Debug Messages Monitor UDF Screen Scraping Round Corner GUI UDF Multi-Threading Made Easy Interface Object based on Tag
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now