Article View: borland.public.cppbuilder.nativeapi
Article #4344Re: Using the systray in services
From: Remy Lebeau (TeamB)
Date: Sat, 18 Feb 2006 19:46
Date: Sat, 18 Feb 2006 19:46
16 lines
1417 bytes
1417 bytes
"Bogdan" <boprea@xnet.ro> wrote in message news:43f70392@newsgroups.borland.com... > How can I process systray messages in a windows service? You don't. > I need to display an icon in the systray when the service is > running, and remove it when it's stopped The best approach is to make a separate non-service executable that continuously monitors the service's status. Gambit
Technical Details
Message-ID:
<43f77960@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43f70392@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ee340e11c1cfabb3 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43f70392@newsgroups.borland.com> Subject: Re: Using the systray in services Date: Sat, 18 Feb 2006 11:46:16 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 68.69.17.41 Message-ID: <43f77960@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1140291936 68.69.17.41 (18 Feb 2006 11:45:36 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed.freenet.de!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!pe2.news.blueyonder.co.uk!blueyonder!news-peer-test!btnet!newsfeed.bt.es!caladan.landsraad.net!newsgroups.borland.com!not-for-mail