Word OfficeMath EditBox Shade Fix
Fix the shade color issue of OfficeMath equation edit boxes in Word dark mode.
Author: Joe Ye
This mod fixes the issue where the shade color of OfficeMath equation edit boxes does not change according to the theme (light/dark) in Microsoft Word. It achieves this by hooking into the DrawMathShd function in wwlib.dll, which is responsible for drawing the shade, and dynamically patching the hardcoded color value based on the current theme (can be customized in the settings).
Note: this mod needs pdb symbol of wwlib.dll to work. The symbol file is expected to be a bit large (~90MB in size). Windhawk will download it automatically when you launch Word first time after you installed the mod (the popup at right bottom corner of your screen, please make sure that it shows percentage like "Loading symbols... 0% (wwlib.dll)", wait until it reaches 100% and the pop up disappears, otherwise please switch your network and try again) please wait patiently and make sure to relaunch Word AS ADMINISTRATOR at least once after it finishes, this is to write symbols being used to SymbolCache, which speeds up launching later on.
⚠️ Note:
- It is advised to turn off automatic updates for Office applications, as PDB may need to be downloaded every time after updates.
- Please relaunch Word as administrator at least once after installing the mod and wait for symbol download to complete, this is to write symbols being used to SymbolCache, which speeds up launching later on.
This mod is part of The Ultimate Office Dark Mode Project
Before vs After
