如何在特定事件发生时使浏览器窗口闪烁闪烁。 [英] How to make Browser window blink with flash when particular event occur.

查看:97
本文介绍了如何在特定事件发生时使浏览器窗口闪烁闪烁。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,



我正在开发一个网络聊天应用程序。在那里,当我向另一个用户发送消息时,我想在任务栏中刷新浏览器。任何人都知道请帮助我。



谢谢

解决方案

如果你想闪烁窗口标题在Web应用程序的任务栏中,您需要一个ActiveX组件,它调用FlashWindowEx API

(< DllImport(user32.dll,EntryPoint:=FlashWindow)>或CWnd :: FlashWindowEx)

使窗口标题闪烁。



以下链接是一篇很好的文章,讨论使用C#中的Web服务进行聊天应用程序,并使用Windows窗体客户端制作气球提示









C#:任务栏中的Flash窗口通过Win32 FlashWindowEx

Hi all,

I am developing a web chat application. In that I want to make flash the browser in the Task- Bar when one sends a message to another user. Any one know please help me.

Thanks

解决方案

If you would like to blink the window title in taskbar in your web application, you need an ActiveX component, which call the FlashWindowEx API
(<DllImport ("user32.dll", EntryPoint: ="FlashWindow")> or CWnd::FlashWindowEx)
to make the window title flash.

The following link is a good article talks about Chat Application using Web services in C#, and use windows form client to make the "balloon tips"




C#: Flash Window in Taskbar via Win32 FlashWindowEx


这篇关于如何在特定事件发生时使浏览器窗口闪烁闪烁。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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