Add Universal App Icon Changer#3988
Conversation
This file implements a Windhawk mod that allows users to change the runtime icons of selected applications, including window title bar, taskbar, and Alt+Tab icons. It includes settings for icon size, application rules, and hooks for applying icons to windows.
|
I tested the mod locally with notepad.exe, explorer.exe, and chrome.exe. The mod compiles successfully and users can configure icon rules from Windhawk settings without recompiling. Please let me know if any changes are needed. |
| // @exclude WindhawkUI.exe | ||
| // @exclude WindhawkEngine.exe | ||
| // @exclude WindhawkCompiler.exe |
There was a problem hiding this comment.
These are made-up process names.
| // @exclude WindhawkUI.exe | |
| // @exclude WindhawkEngine.exe | |
| // @exclude WindhawkCompiler.exe |
| // @exclude svchost.exe | ||
| // @exclude conhost.exe | ||
| // @license MIT | ||
| // @compilerOptions -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 -luser32 -lshell32 |
There was a problem hiding this comment.
This is likely unnecessary.
| // @compilerOptions -DWINVER=0x0A00 -D_WIN32_WINNT=0x0A00 -luser32 -lshell32 |
| $description: Recommended. Apply only to top-level windows. | ||
|
|
||
| - ChangeClassIcon: true | ||
| $name: Change class icon |
There was a problem hiding this comment.
Why is it necessary to also change the class icon? Is it intentional, or just whatever AI did?
|
|
||
| - DefaultIconPath: "" | ||
| $name: Default icon path | ||
| $description: Optional. If set, unmatched processes will use this icon. Leave empty for safer behavior. |
There was a problem hiding this comment.
Will this option change the icon of all windows on the system? That doesn't seem very useful.
| return; | ||
| } | ||
|
|
||
| EnumWindows(EnumWindowsProc, 0); |
There was a problem hiding this comment.
That's quite inefficient. It means that every program will constantly enumerate all windows. Consider improving it.
|
What’s the difference from Resource Redirect? |
This file implements a Windhawk mod that allows users to change the runtime icons of selected applications, including window title bar, taskbar, and Alt+Tab icons.
Features:
Changelog
Initial release.
Mod authorship
If the submission is a new mod, please fill the form below.
This mod was created by:
Please select the appropriate option. Your selection will not affect acceptance criteria, but will help reviewers understand the context of the code and provide relevant feedback.