Skip to content
⌘ NSIS Forum Archive

Task bar refresh

4 posts

b_avery@yahoo.c#

Task bar refresh

My installation installs a program that places an icon in the task bar.

When I upgrade the application it closes down the application and upgrades the application, then launches the application, the problem I have is that you get two icons in the task bar, but if you hover over them the old one goes. I've seen this happen with other applications that display icons in the task bar.

In the Task Manager only one application is loaded.

It appears that the task bar needs a refresh, but how do you do this?
b_avery@yahoo.c#
This is what I am doing, but Windows does not refresh the task bar, if you move your mouse over the task bar the old icon disappears
kichik#
So it's the application problem. A normal application should remove its tray icon when exiting.

If you insist on refreshing the taskbar, which is far from the ideal solution, you should search MSDN for an appropriate message or API function.