To avoid changing theme and to make active window more obvious on the taskbar, I wrote my own "power tool" application and an ahk script.
base on those two facts:
- sometimes, an win32 window could be shown on top of the taskbar (example fullscreen window).
- in ahk, you can iterate over taskbar icons (getting names、icon positions) through accessibility interface acccording to this post
just show a semi-transparent (WS_EX_LAYERD | WS_EX_TRANSPARENT) . Then when ahk script detects a different window is activated, get the new window title, compare with those in the taskbar, and move the window to
cover the corresponding position on taskbar (SetWindowPos...HWND_TOPMOST) .
github link containing the ahk script and the native tool window application : https://github.com/appxmod/PowerTools
before and after :
demo