Board index » cppbuilder » tray icon in service application
Marta
![]() CBuilder Developer |
Marta
![]() CBuilder Developer |
tray icon in service application2004-12-21 01:54:30 AM cppbuilder45 I created a service application. But I couldn't see what actually the service do. I wonder if it is possible to add a tray icon to the service application. If yes, how could I do it. I try to use a structure NOTIFYICONDATA, but I wasn't succeded. |
Vladimir Stefanovic
![]() CBuilder Developer |
2004-12-21 02:07:44 AM
Re:tray icon in service application
This is how I solve that:
1) my service application does not include any interface (I was strongly suggested that) 2) what service does I write to log files: a) basic things (start/pause/continue/stop) I write in on the OS level with LogMessage() b) more complex things (details about service processing) I write localy. 3) I made a *separate* app to configure the service which also can be some type of viewer of the local logs and other service speciffic data. Tray variant or not is your decision. Best regards, Vladimir Stefanovic Marta <bombe!@poczta.onet.pl>wrote in message Quote
structure NOTIFYICONDATA, but I wasn't succeded. |
Remy Lebeau (TeamB)
![]() CBuilder Developer |
2004-12-21 03:40:50 AM
Re:tray icon in service application
"Marta" <bombe!@poczta.onet.pl>wrote in message
QuoteI created a service application. But I couldn't see what actually the do not recommend this approach. You should create a separate non-service application to manage the tray icon on the service's behalf. Gambit {smallsort} |