Suppress the display of window borders. (AHKv2)
#Requires AutoHotkey v2.0 DWMWA_COLOR_DEFAULT := 0xFFFFFFFF DWMWA_COLOR_NONE := 0xFFFFFFFE BorderColor := DWMWA_COLOR_NONE SetTimer(SetBorderColor.Bind(BorderColor)) return SetBorderColor(BorderColor) { static WS_POPUP := 0x80000000 static DWMWA_BORDER_COLOR := 34 for hWnd in WinGetList('ahk_exe vivaldi.exe') { try { Style := WinGetStyle('ahk_id' hWnd) if (Style & WS_POPUP) return _DwmSetWindowAttribute(hWnd, DWMWA_BORDER_COLOR, BorderColor, 4) } } _DwmSetWindowAttribute(hWnd, dwAttribute, pvAttribute, cbAttribute) { DllCall('dwmapi.dll\DwmSetWindowAttribute', 'Ptr', hWnd, 'UInt', dwAttribute, 'UInt*', pvAttribute, 'UInt', cbAttribute) } }-
This topic is deleted!
• 04olivia2014 -
This topic is deleted!
• hafsanoor45 -
This topic is deleted!
• DonnaStella123 -
Solved In Polish - word Partnerzy
• novelek