Members
  • Total Members: 14176
  • Latest: toxxxa
Stats
  • Total Posts: 42869
  • Total Topics: 16078
  • Online Today: 3869
  • Online Ever: 51419
  • (01. January 2010., 10:27:49)









Author Topic: force windows to reload all system tray icons  (Read 4048 times)

0 Members and 1 Guest are viewing this topic.

devnullius

  • SCF VIP Member
  • *****
  • Posts: 3614
  • KARMA: 157
  • Gender: Female
    • SCForum.info
force windows to reload all system tray icons
« on: 03. September 2014., 21:31:37 »
This has been bugging me since it was introduced in Windows 95 pre-release SC1 or whatever it was ;p

When explorer crashes, Windows will not crash any longer (mostly starting with Aero (Vista). That is good. It usually automatically restarts explorer.exe and you can work on as nothing happened.

Sadly, there is 1 big big big disadvantage: the crashing explorer.exe takes with it the active systray icons (you know, that stuff usually ignored and hidden by many users, to be found close to your time/date clock in the Task-bar?).

On my currently maxed-out PC with all PoS cryptocurrency wallets, this is a big pain in my buttoms :( Why? I can't access my wallets! Or other programs for that matter, even Avast messes up once in a blue moon.

I thought this could not be fixed: it's not windows that takes care of them icons, it's the programs themselves... And almost none keep checking if their icon is still displayed.

To my surprise, today I found a solution...

FROM: http://stackoverflow.com/questions/1114887/can-i-re-gain-a-systray-icon-of-a-running-app-that-has-gone-missing

Quote
I've written a project that sends a TaskbarCreated message to all of the top-level windows in the system. If they've registered a tray icon, that should cause them to restore the icon after explorer has crashed.

I've released the source under the MIT license, and provided a link to the compiled console application  (with Lazarus) in the readme file.

There are certainly a few refinements that could be made, like not sending the message if the icon is known to be in the tray already, but for now this app causes the icons that I know go missing on an Explorer crash to reappear.

answered Mar 21 '13 at 18:41

ringmaster
977814

Be warned: it's *not*  perfect: I end up with 5 icons that are blank, filled in but non-responding. Still, others do re-appear as by magic and I'm pinning this neat little tool ;)

I added it to my default checkdisk.zip collection... Discussed here: http://scforum.info/index.php?topic=8202.0

Peace!

Devvie
More information about bitcoin, altcoin & crypto in general? GO TO  j.gs/7385484/btc

Cuisvis hominis est errare, nullius nisi insipientis in errore persevare... So why not get the real SCForum employees to help YOUR troubled computer!!! SCF Remote PC Assist http://goo.gl/n1ONa9

Samker's Computer Forum - SCforum.info

force windows to reload all system tray icons
« on: 03. September 2014., 21:31:37 »

Samker

  • SCF Administrator
  • *****
  • Posts: 7528
  • KARMA: 322
  • Gender: Male
  • Whatever doesn't kill us makes us stronger.
    • SCforum.info - Samker's Computer Forum
Re: force windows to reload all system tray icons
« Reply #1 on: 05. September 2014., 20:54:05 »
Useful, no doubt. :thumbsup:

A41202813GMAIL

  • SCF VIP Member
  • *****
  • Posts: 581
  • KARMA: 43
  • Gender: Male
  • XPOCALYPSE FOREVER !
TRAYRESTORE.EXE.
« Reply #2 on: 23. September 2015., 19:05:21 »
Wonderful Utility.

---

Sequence Of Tasks ( All Within The Task Manager - CTRL-ALT-DEL ):

A - Choose Option **End Process** EXPLORER.EXE ( On Purpose This Time ) - Careful, Do Not Choose Option **End Process Tree**,

B - Run This Utility,

C - Run EXPLORER.EXE, Again.

Everything Should Be Back To Normal.

---

It Works With XP, Too.

Thank You.

---

myphonecarduk

  • SCF Member
  • **
  • Posts: 31
  • KARMA: 2
  • Gender: Male
Re: force windows to reload all system tray icons
« Reply #3 on: 14. October 2016., 17:55:32 »
I don't know that will work or not, But I think it would be great if it works as described.

Samker's Computer Forum - SCforum.info

Re: force windows to reload all system tray icons
« Reply #3 on: 14. October 2016., 17:55:32 »

 

With Quick-Reply you can write a post when viewing a topic without loading a new page. You can still use bulletin board code and smileys as you would in a normal post.

Name: Email:
Verification:
Type the letters shown in the picture
Listen to the letters / Request another image
Type the letters shown in the picture:
Second Anti-Bot trap, type or simply copy-paste below (only the red letters):www.scforum.info:

Enter your email address to receive daily email with 'SCforum.info - Samker's Computer Forum' newest content:

Terms of Use | Privacy Policy | Advertising