Repainting system tray
Posted on 1997-12-30
Greetings. How do you make Win95 repaint the system tray? I have some custom apps that do not properly remove their system tray icons when exiting, although if you subsequently wave the cursor over them in the system tray, they are deleted. This makes the user think that the app is still running, when it is not. I do not have the liberty to rewrite those apps, but I can put a periodic tray repaint in a new app that I am writing. Doing an Invalidate(NULL, NULL, TRUE) to repaint the entire desktop doesn't do the trick. Any suggestions? Thanks in advance.