I've a little piece of code that I sometimes need to use that kills a
running process when it stops responding. The process has a notification
icon that it displays in the system-tray area of the task bar. When its
process is killed, however, the icon stays in the system tray. The only way
to remove it is to move the mouse pointer over the top of it, at which point
the icon vanishes.
Is there any way (using the .NET framework or API calls) to get Windows to
refresh the notification area so that the orphaned icon will disappear on
its own?
TIA,
--
(O)enone