🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4343

Using the systray in services

#4343
From: Bogdan
Date: Sat, 18 Feb 2006 11:27
7 lines
1174 bytes
How can I process systray messages in a windows service?I need to display
an icon in the systray when the service is running, and remove it when it's
stopped, but the systray requires a handle to window where to send messages
when the icon is clicked or needs to be redrawn, and a service doesn't have 
one.

Bogdan. 
Technical Details
Message-ID: <43f70392@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ee340e11c1cfabb3,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Bogdan" <boprea@xnet.ro>
From: "Bogdan" <boprea@xnet.ro>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Using the systray in services
Date: Sat, 18 Feb 2006 13:27:02 +0200
Lines: 9
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
NNTP-Posting-Host: 85.186.237.190
Message-ID: <43f70392@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1140261778 85.186.237.190 (18 Feb 2006 03:22:58 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!newshub.sdsu.edu!logbridge.uoregon.edu!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail