Skip to content

Commit 9f7d605

Browse files
authored
Shorten hex representation
1 parent b136f6c commit 9f7d605

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

TextRender (for v1).ahk

+4-4
Original file line numberDiff line numberDiff line change
@@ -1934,8 +1934,8 @@ TextRenderDesktop(text:="", background_style:="", text_style:="") {
19341934

19351935
; Used to show the desktop creations immediately.
19361936
; 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)
19391939

19401940
hwndParent := WinExist("ahk_class Progman")
19411941
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:="") {
19461946
static WS_EX_LAYERED := 0x80000
19471947

19481948
; 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)
19511951

19521952
; Find a child window of class SHELLDLL_DefView.
19531953
WinGet windows, List, ahk_class WorkerW

0 commit comments

Comments
 (0)