Hi
Jeremy,
I
don't know about CoolTrayIcon. I use TStTrayIcon in Turbo Power's
ShellShock package. By quickly browsing the source code, I noticed that it call
NotifyIcon(NIM_DELETE); to remove icon from system tray. That will call
Shell_NotifyIcon to delete icon.
Regards
Leigh
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]On Behalf Of Jeremy Coulter
Sent: Thursday, November 27, 2003 3:06 PM
To: [EMAIL PROTECTED]
Subject: [DUG] Tray IconHi All.I have a small problem where I am using a tray icon comp. called "CoolTrayIcon" as it has a couple of nice features.Anyway, I have a maint progrma that runs at a specified time that closed my app. down and compact and repairs my Access Db and backs it up etc.This all works fin, BUT, when the application closes (this is the one that gets closed by the maint app) it leaves the tray icon in the system tray.If the program is closed 5 times, there will be 5 icons !If I then run my mouse over the system try, all but the active icon go away !Do I need to send a windows message to the systray to tell it to refresh or something?Cheers,Jeremy Coulter------------------------------------------------------------------------All email scanned with Nortons Antivirus 2003------------------------------------------------------------------------
_______________________________________________ Delphi mailing list [EMAIL PROTECTED] http://ns3.123.co.nz/mailman/listinfo/delphi
