Reputation: 169
I have an app that is already running - every now and then it triggers a FlashWindowEx event (the windows 7 icon flashes). I would like to capture this event but I can't seem to find any good info on how.
My thoughts were that it would go like this:
I guess my question is:
Is this possible?
Upvotes: 3
Views: 1082
Reputation: 45172
The WH_SHELL
hook notifies you when a window is flashing. According to the documentation:
nCode
= HSHELL_REDRAW
wParam
= the handle of the windowlParam
= TRUE
if the window is flashing, FALSE
otherwise.Upvotes: 8