Re: Some Systray icons disapear after explorer crash

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

From: Don Taylor (dont_at_agora.rdrop.com)
Date: 02/09/05


Date: Wed, 09 Feb 2005 14:37:27 -0600

DanS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> writes:
>dont@agora.rdrop.com (Don Taylor) wrote in
>news:htudnQRIZfcpBZTfRVn-tQ@scnresearch.com:
>> DanS <t.h.i.s.n.t.h.a.t@a.d.e.l.p.h.i.a..n.e.t> writes:
>>>"b*e*a*s*t" <none@blueyonder.co.uk> wrote in
>>>news:E55Od.37933$B8.4357@fe3.news.blueyonder.co.uk:
>>>> Im sure you've heard this before "a windows bug"
>>>>
>>>> Some of my systray icons dissapear after the explorer
>>>> crashes/hungs/restarts i dont care what the cause is as it will
>>>> crash at some point it does not happen all the time but some sytray
>>>> icons disappear namely my norton internet security now but never use
>>>> to when explorer crashed,
>> ...
>>>when explorer closes and is re-started, it does not know what was in
>>>the system tray previously, nor what is supposed to be there. when the
>>>shell re-starts, it sends a system-wide broadcast message,
>>>WM_TASKBARCREATED (?). since this is a broadcast messages, all running
>>>apps are supposed to hear this message. upon hearing this message, if
>>>the app has a systray icon, it is supposed to respond with the same
>>>messages sent when it originally put the icon in the tray, once again
>>>telling the shell to put this icon in the systray.
>>
>> Is there a way to capture that message with a script?
>> Or a way to get that dumped into the event log?

>i would assume that you could capture the message with a custom program,
>but i don't know how you would handle it. it would take some configuring,
>which you would have to tell the 'program' what processes (could be by
>exe name) have an icon in the system tray. when the 'program' hear's the
>WM_TASKBARCREATED message, it could then enumerate through the active
>processes looking for names that match with it's list of the known names.

I was not trying to even be as complicated as that, I wasn't trying to
"fix" the problem with other programs not putting their icons back.

I was ONLY asking if I could do something within my programming ability
that would record that the resurrectionof windows explorer had happened.

>getting the individual apps to once again tell the shell to place it's
>icon in the system tray is the issue here. i don't think it's possible.
>maybe the only way would be to have the custom monitor program then end
>the process and re-start it.

Fixing someone else's app to correctly deal with windows explorer crashes
is far beyond anything I would even think of doing, and likely not
possible.

Thanks



Relevant Pages

  • Re: [kde-linux] Storage media icon
    ... If no-one can hlp me with the problem bellow, let's try another angle: ... How can I insert an icon in the system tray from a script? ...
    (KDE)
  • Windows explorer error
    ... When I install the kb83355732 update, the windows explorer shows an error and erase some icon in the system tray. ...
    (microsoft.public.windowsupdate)
  • Re: Microsoft Office Keyboard RT9450
    ... Have you executed the script? ... have you seen the 'H'; icon in ... the system tray, and does ... Cenfus's Profile: http://forums.techarena.in/members/166225.htm ...
    (microsoft.public.windows.vista.hardware_devices)
  • Re: Saving Idea Spaces
    ... Of the three options you suggest--STB, icon in the SF, or an ST script, I think the latter would be more appropriate. ... Concerning your "Dialog Box Design Considerations" Idea Space, the following elements of your ideas have changed since you last saved the idea: ... I did respond, but again I was having news reader problems, so I'm not sure if the post is actually visible to everyone. ...
    (comp.lang.smalltalk.dolphin)
  • Re: Outlook 2003 System Tray Icon
    ... You can however hide the outlook icon in the system tray by ... it appears that I cannot be rid of the Outlook 2003 icon in the ... || He expects a program to run without appearing on either the Taskbar ...
    (microsoft.public.outlook)