@@ -1934,8 +1934,8 @@ TextRenderDesktop(text:="", background_style:="", text_style:="") {
1934
1934
1935
1935
; Used to show the desktop creations immediately.
1936
1936
; Post-Creator's Update Windows 10. WM_SPAWN_WORKER = 0x052C
1937
- DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0x0000000D , " ptr" , 0 )
1938
- DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0x0000000D , " ptr" , 1 )
1937
+ DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0xD , " ptr" , 0 )
1938
+ DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0xD , " ptr" , 1 )
1939
1939
1940
1940
hwndParent := WinExist (" ahk_class Progman" )
1941
1941
return (new TextRender(, WS_CHILD, WS_EX_LAYERED, hwndParent)).Render(text , background_style, text_style)
@@ -1946,8 +1946,8 @@ TextRenderWallpaper(text:="", background_style:="", text_style:="") {
1946
1946
static WS_EX_LAYERED := 0x80000
1947
1947
1948
1948
; Post-Creator's Update Windows 10. WM_SPAWN_WORKER = 0x052C
1949
- DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0x0000000D , " ptr" , 0 )
1950
- DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0x0000000D , " ptr" , 1 )
1949
+ DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0xD , " ptr" , 0 )
1950
+ DllCall (" SendMessage" , " ptr" , WinExist (" ahk_class Progman" ), " uint" , 0x052C , " ptr" , 0xD , " ptr" , 1 )
1951
1951
1952
1952
; Find a child window of class SHELLDLL_DefView.
1953
1953
WinGet windows, List , ahk_class WorkerW
0 commit comments