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.
精彩评论