Code: Select all
WinSetTransColor this.win.BackColor " 255", this.win.Title
But they need to not fail.
So that the windows below are disabled and do not respond to clicks.
Code: Select all
WinSetTransColor this.win.BackColor " 255", this.win.Title
Code: Select all
#Requires AutoHotkey 2.0
#SingleInstance
OnMessage WM_LBUTTONDOWN := 0x0201, (*)=>SoundBeep()
myGui := Gui("AlwaysOnTop")
myGui.BackColor := 0xFF0000
myGui.Show("w500 h500")
WinSetTransColor 0xFF0000 " 1", "ahk_id" myGui.Hwnd
Code: Select all
#Requires AutoHotkey 2.0
#SingleInstance
#Include ../Lib/ahk2_lib/WebView2/WebView2.ahk
OnMessage WM_LBUTTONDOWN := 0x0201, (*)=>SoundBeep()
myGui := Gui("AlwaysOnTop")
myGui.BackColor := 0xFF0000
myGui.Show("w900 h400")
wvc := WebView2.create(myGui.Hwnd)
wv := wvc.CoreWebView2
wv.Navigate(A_ScriptDir . "/../../index.html")
WinSetTransColor 0xFF0000 " 100", "ahk_id" myGui.Hwnd