Search the Community
Showing results for tags 'WS_EX_ACCEPTFILES'.
I am working on a script that uses drag and drop, but is supposed to be run under different creds. I noticed Drag and dropping a file does nothing when the script is being Runas other credentials.. Try this.. Using the code below, compile it, then runas another user (another domain user preferably) and try to drag a file to it. Then try it without using RunAs.. #include <GUIConstantsEx.au3> #include <WindowsConstants.au3> Example() Func Example() GUICreate("Drop a file here", 220, 200, 100, 100, -1, $WS_EX_ACCEPTFILES) $listview = GUICtrlCreateLabel("Drag a file her
Hi - I am using $WS_EX_ACCEPTFILES and $GUI_DROPACCEPTED to have an Input control accept a filename. When a file is dragged into the input control and the keyboard caret is also focused in the input control - then the file name gets added at the location of the keyboard caret. What I would like is that whenever a file is dragged into the input control - that the file will replace the entire contents of the input control. Does anyone know how I can do this? Steps to reproduce problem: 1. Drag a file into the input control. The filename will show in the input control. 2. The filename will be s