如何确定哪个任务栏应用程序/窗口正在请求用户注意 [英] How can I determine which taskbar application/windows are requesting user attention

查看:25
本文介绍了如何确定哪个任务栏应用程序/窗口正在请求用户注意的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道如何从 Windows 任务栏中获取需要用户注意的窗口列表.需要注意的窗口在 Windows 任务栏中显示为闪烁的橙色.

I'd like to know how to get a list of the windows requiring user attention from the Windows taskbar. Windows requiring attention appear with a flashing orange color within the Windows taskbar.

未聚焦的 MSN Messenger 对话窗口就是这种行为的一个很好的例子:只要远程用户发送实例消息,它们就会变成橙色.

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.

我的代码面向 Windows 7 平台,但在较旧的 Windows 操作系统上工作也不错.

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

推荐答案

我相信 HSHELL_FLASH 通过调用 RegisterShellHookWindow 正是您所追求的.

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

这篇关于如何确定哪个任务栏应用程序/窗口正在请求用户注意的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆