Hi, I have a program, that when minimised runs in the system tray. Everything appears to work ok, until I quit the program. The icon for the program still sits in the system tray until i move the mouse over it, then it goes.

how can i get the icon to disappear as soon as the program is terminated.

thanks in advance
MICK