开发者

How can I determine which taskbar application/windows are requesting user attention

开发者 https://www.devze.com 2022-12-29 07:33 出处:网络
I\'d like to know how to get a list of the windows requiring u开发者_JAVA技巧ser attention from the Windows taskbar. Windows requiring attention appear with a flashing orange color within the Windows

I'd like to know how to get a list of the windows requiring u开发者_JAVA技巧ser attention from the Windows taskbar. Windows requiring attention appear with a flashing orange color within the Windows taskbar.

Un-focused MSN Messenger conversation windows are a good example of this behavior: they turn orange as soon as a remote user sends an instance message.

My code targets the Windows 7 platform, but working on older Windows OS would be nice too.


I believe HSHELL_FLASH you get notified about by calling RegisterShellHookWindow is what you are after.

0

精彩评论

暂无评论...
验证码 换一张
取 消