Created
August 20, 2020 15:55
-
-
Save tablacus/ac8e4f95580bd8babcfaf6921f1b9e43 to your computer and use it in GitHub Desktop.
Change toolbar background color on activation/deactivation - Tablacus Explorer
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
AddEvent("SystemMessage", function (Ctrl, hwnd, msg, wParam, lParam) { | |
if (msg == WM_ACTIVATE) { | |
document.body.style.backgroundColor = wParam ? "#F0F0F0" : "#757575"; | |
} | |
}); |
Author
tablacus
commented
Aug 20, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment