You can easily see this by opening a Folder Options dialog box, and excute the following script:
Code: Select all
^+p::WinMove, A, , 100, 100
Code: Select all
^+p::WinMove, A, , 100, 100
Code: Select all
^+p::
hwnd := WinExist("A")
WinGetPos,,,w, h, ahk_id %hwnd%
;// MoveWindow fails
; DllCall("MoveWindow", "Ptr", hwnd
; , "Int", 100
; , "Int", 100
; , "Int", w
; , "Int", h
; , "Int", false) ;// true or false for repaint doesn't seem to matter
;// SetWindowPos works
DllCall("SetWindowPos", "Ptr", hwnd
, "Ptr", 0
, "Int", 100
, "Int", 100
, "Int", w
, "Int", h
, "UInt", 0x4000)
return
Code: Select all
^+p::WinActivate, % "Remote Desktop Connection"
It should happen on Windows 10 only, because I think Windows 10 has got thicker shadow.joefiesta wrote: Tried the "remote desktop connection" example on Windows 7 Pro, AHK 1.1.32. The effect is not seen there.
Users browsing this forum: No registered users and 45 guests