Change Icon in System Tray
Posted on 1999-10-28
I asked a question a couple of days ago to add my applicaiton icon to the system tray and remove it from the task bar. That works great and thank you. The second part to this is that I need to change the icon in system tray while the applciation is running to indicate the application status. How do I change the Icon in the system tray while the application is running? I have a RES file that is storing all of my Icons.
Application.Icon.Handle := LoadIcon(ResDLLMod, pchar('AWMAILGO'));
But that only seems to change the application icon. The icon in the system tray wasn't affected.
Thanks in advance,