Board index » cppbuilder » tray icon in service application

tray icon in service application


2004-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.
 
 

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

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.
 

Re:tray icon in service application

"Marta" <bombe!@poczta.onet.pl>wrote in message
Quote
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.
Technically yes, but it takes a bit of extra work to set it up properly. I
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}