views:

272

answers:

2

I can use "FlashWindowEx" to make a window flash in the taskbar, but what can I call to determine if that has been done to a window? Is there a flag that gets set somewhere that I can query?

+1  A: 

It's seems that such thing is not possible. However, there may be workarounds. For example, you may keep a boolean variable "flash = false". Then set it to "true" when you call FlashWindowEx and set to "false" in the situations in which applications typically gain focus.

References:

http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1846008&SiteID=1

luiscubal
Thanks - I was hoping there was a Win32 call I could use, but it doesn't look like it.
Jon Tackabury
A: 

I need this, too. Using a variable does not solve the problem, because I need to find flashing windows independent of the process.

I'm afraid Microsoft does not provide an API for this.
luiscubal