I have a D2006 app that notifies various events via a tray balloon hint. Every so often, but not very often - say 1 in 10 invocations of the app -, one of the hints decides it is going to popup again and again... forever. The only thing that stops it is to close the app.
If the app issues another balloon int, it replaces the phantom hint, but then after the new hint times out, the phantom hint returns. Likewise if I close the phantom hint it returns immediately.
I've verified that the code to create the hint is not being called repeatedly. The hint is originating deeper in the bowels somewhere.
MainForm.TrayIcon1.BalloonFlags := Flag ;
MainForm.TrayIcon1.BalloonTitle := Title ;
MainForm.TrayIcon1.BalloonHint := Message ;
MainForm.TrayIcon1.BalloonTimeout := Delayms ;
MainForm.TrayIcon1.ShowBalloonHint ;