I would like to make or have a utility to list of all the icons in the system tray, showing the process that owns each one.
e.g. ACTUAL ICON, PROCESS ID, PROCESS NAME
Why? Well partly out of interest i.e. can it be done? Also, sometimes you get an icon in the tray but it doesn't indicate what application it belongs to. Strange, but occasionally true. So you might want to stop the app loading but don't know which one it is. You can of course kill every running process, one-by-one, til the icon disappears - not such a good method!.
From what I have googled, doing this may not be possible due to Windows limitations!
There was a related question back in 2000:
Maybe there is more information about doing this now?
BTW I use a tray manager (TrayMan from PC Mag) to hide some icons. It's list of tray icons sometimes shows entries that don't have an icon! Is that possible?
The fact that TrayMan can list the icons shows that that part is at least possible.
Anyway, a working binary or Delphi code (full app, or code fragments that demonstrate how to do it) will get you the points. VB code is less desirable, but I do have a VB6 compiler around.