﻿id	summary	reporter	owner	description	type	status	milestone	component	version	severity	resolution	keywords	cc
3255	Drag & Drop not working when Windows DPI setting is above 100%	antonis@…	Jon	"I've noticed that drag & drop in AutoIt GUI doesn't work when Windows DPI is set higher than the default 100%. I got a new monitor and I'm using it at 150% since the resolution is very high. When trying to drag & drop using scripts that I know work it just doesn't do anything. If I change the setting to 100% it works as normal.

Test code:
 

#include <GUIConstantsEx.au3>
#include <WindowsConstants.au3>
#NoTrayIcon

Opt(""GUIOnEventMode"", 1)

Global $MainGUI


GUICreation()

While 1
    Sleep(1000)
WEnd

Func GUICreation()
    $MainGUI = GUICreate(""Test"", 500, 100, Default, Default, """", $WS_EX_ACCEPTFILES)
    $TestInput = GUICtrlCreateInput("""", 80, 10, 348, 20)
    GUICtrlSetState($TestInput, $GUI_DROPACCEPTED)
    $Exit = GUICtrlCreateButton(""Exit"", 220, 40, 60, 25)
    GUICtrlSetOnEvent($Exit, ""Quit"")
    GUISetState(@SW_SHOW)
EndFunc   ;==>GUICreation

Func Quit()
    GUIDelete($MainGUI)
    Exit
EndFunc   ;==>Quit

Try this code with your monitor set to 100% and try dragging & dropping a file in the Input, it's location should populate the Input, then set it to something higher like 125% or 150% and try dragging & dropping a file again to reproduce the issue. 

The setting is in Display Settings, under ""Customize your display"" and says ""Change the size of text, apps, and other items"" "	Bug	closed		AutoIt	3.3.14.0	None	Works For Me		
