I have a program (the Analogue clock widget) that would be useful to have in the system tray mainly so that it doesn't minimise when a user hits the Show Desktop shortcut to minimise all windows. (This is an icon in the quick launch toolbar on XP) I did some experimentation with TTrayIcon in D2006 and it doesn't work quite as I expected - it does nicely create an icon in the system tray, but also still on the task bar, and minimise all programs mentioned above still minimises it. Also there is no right click menu supplied with the tray icon by default- so I presume further coding is still needed to add this. I could either add further code to do this - any suggestions? -or- I could leave it instead with a normal task bar icon and use the Tapplication.onminimise event (TapplicationEvents component) to just maximise it again (add a line saying application.restore). *However* this event is fired when I click the minimise icon for the individual program, but not when minimise all is clicked..... Any suggestions?
John
<<attachment: winmail.dat>>
_______________________________________________ Delphi mailing list [email protected] http://ns3.123.co.nz/mailman/listinfo/delphi
