B4J Question SystemTray.RemoveTrayIcon doesn't refresh

Cableguy

Expert
Licensed User
Longtime User
Hi guys...

I'm using the system tray lib to place an icon on the system tray (doh)
Just before closing the app, I do a RemoveTrayIcon but, even thou the app closes, the icon remains until I pass the mouse over it...
If I start multiple times my app and close it without opening (refreshing) the tray, I get one icon per launch!
 

Cableguy

Expert
Licensed User
Longtime User
Thé way shown in my latest b4j snippet, the one about hiding main form from the taskbar
 
Upvote 0

Cableguy

Expert
Licensed User
Longtime User
After I remove the icon, right?
 
Upvote 0
Top