flash a window on toolbar

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: CW (CW_at_nospam.com)
Date: 10/12/04


Date: Wed, 13 Oct 2004 05:56:00 +1000

I have written a chat program using asp.net. It basically has a hidden frame
that's constantly refreshed and uses document.write to write new messages to
the chat transcript frame. Because chat windows can be obscured either by
other browser windows or other applications altogether on the desktop, I am
trying to find a way to notify user that a new message has arrived, yet do
it unobtrusively.

I have currently used window.focus method whenever new messages are
received. If user running another application, IE icon on the toolbar would
flash as required. However, if user is merely in another IE screen, the
message window would pop on top and gain focus. This is a problem when user
may be typing away in another chat window. The newly focussed window would
take focus away from the chat window in which user is typing in messages.

Is there anyway to simply flash the IE icon on the toolbar without bringing
the actual IE screen on top? If not, I would appreciate any suggestions on
making user aware of new messages unobtrusively.

thanks in advance



Relevant Pages

  • Re: activating windows from a separate thread - chat_window_activation_code.cs (0/1)
    ... I have to remote objects -- chat monitors - that handle the main connection stuff. ... So, in the chat handler thread, I call my own chat monitor, passing it in the remote monitor object ... through a callback method, to establish a chat window, giving the application a link to a local chat ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: SQL Server SP4 Chat
    ... >>>Join members of the Product Group in a Chat about SP4. ... >>>>Join members of the SQL Server development team as we discuss what's>>coming>>up in SQL Server 2000 Service Pack 4. ... I somehow managed to get myself disconnected a> few times, once I saw only the guest chat window, not> the window with the expert's answers anf my two final attempts failed> because the same set of answers just kept repeating itself over and over> in the expert's answers windows, while at the same time nothing happened ... > If there's a transcript, I'd definitely want to read it. ...
    (microsoft.public.sqlserver.programming)
  • Storing a Form in a Hashtable
    ... I'm working on a chat client and this is what I'm trying to do when a ... // the ChatWindow class is derived from a simple form ... // check to see if there is already a chat window ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: What happened to LFG channel??
    ... On Sat, 24 Jun 2006 18:41:49 GMT, Burt Johnson wrote: ... being used for general chat by a lot of buffoons. ... chat window and have a separate LFG chat window. ...
    (alt.games.warcraft)
  • Re: Not exactly a programming question
    ... most instant message files are save as *.htm, the best way to do is pull ... up a chat window and select file then select open chat, ... settings\" and check out the history folder, temp folder, and temporary ...
    (microsoft.public.excel.programming)