Reputation: 12894
The goal is to prevent taskbar icons from ever flashing. Apparently Windows has no option to disable flashing, so I'm hoping to write a small program that would intercept all the calls to FlashWindow / FlashWindowEx from any application and simply discard them.
Can this be done? If so, could you give any hints/examples how to hook calls to FlashWindowEx (globally) that would work with both 32bit and 64bit apps and also with both regular API calls and DLL calls through GetProcAddress (Skype uses that).
Upvotes: 1
Views: 919
Reputation: 596833
Use RegisterShellHookWindow()
to intercept and discard HSHELL_FLASH
notifications.
Upvotes: 1