[twsocket] ICS application with TrayIcon
Every TrayIcon I know (including Delphi's) uses Application.ProcesMessages somwhere. Anyone have had troubles with it in an ICS application? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS application with TrayIcon
I'm using it with the sample of Wilfrid Mestdagh (.biz) to allow a service application to work as a desktop app ass well. It works w.o. any problems. albert On Sun, 18 Jan 2009 11:27:12 +0100 Paul paul.blommae...@telenet.be wrote: Every TrayIcon I know (including Delphi's) uses Application.ProcesMessages somwhere. Anyone have had troubles with it in an ICS application? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS application with TrayIcon
Hello Paul, No this is not needed in a tray icon because it can use the notification from windows. You find one on my site. Of course when you popup a menu if click on it then it processes messages but this is NOT from within an event from an ICS component so no harm. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Sunday, January 18, 2009, 11:27, Paul wrote: Every TrayIcon I know (including Delphi's) uses Application.ProcesMessages somwhere. Anyone have had troubles with it in an ICS application? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be
Re: [twsocket] ICS application with TrayIcon
Thanks all. In the past, Ive used TCoolTrayIcon because I also needed it to show balloonhints. I just removed Application.Processmessages from the source to be sure. It added about 35 kB to the .exe size though and this application needs to be as small as possible. (I even plan to use KOL components in the future) Now I'm using the std TrayIcon of D2009 which add only 5 kb. I removed Application.Processmessages from it also ExtCtrls.pas and replaced the new .dcu with the original to be sure. Seems I was a bit overconcerned :-) Paul - Original Message - From: Wilfried Mestdagh wilfr...@mestdagh.biz To: ICS support mailing twsocket@elists.org Sent: Sunday, January 18, 2009 12:18 PM Subject: Re: [twsocket] ICS application with TrayIcon Hello Paul, No this is not needed in a tray icon because it can use the notification from windows. You find one on my site. Of course when you popup a menu if click on it then it processes messages but this is NOT from within an event from an ICS component so no harm. --- Rgds, Wilfried [TeamICS] http://www.overbyte.be/eng/overbyte/teamics.html http://www.mestdagh.biz Sunday, January 18, 2009, 11:27, Paul wrote: Every TrayIcon I know (including Delphi's) uses Application.ProcesMessages somwhere. Anyone have had troubles with it in an ICS application? Paul -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be -- To unsubscribe or change your settings for TWSocket mailing list please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket Visit our website at http://www.overbyte.be