🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Services and Tray icon

#12837
From: Boguslaw Fries
Date: Sat, 15 Nov 2003 21:53
17 lines
1542 bytes
Hello,
 I have the following problem
I wrote a program, which make something and
display Tray icon. I use standard function Shell_Notifyicon. ( in
NOTIFYICONDATA I set icondata.hWnd = Handle )

Everyting is ok.
But now I have to use the same program as system service.
I use Microsoft wrapper SrvAny .
Progarm make all ( as service )  what I need  but there is no Icon!!
Shell_Notifyicon. return false. I tried to call it in Timer , but always I
obtain false.
What is wrong?
I could also obtain my form ( is hided by system ?? ))
 Best regards

Boguslaw Fries
Technical Details
Message-ID: <3fb6a058$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,a6935d49d32b7b6d,start
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-11-15 14:09:19 PST
From: "Boguslaw Fries" <B.Fries@luca-online.de>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Services and  Tray icon
Date: Sat, 15 Nov 2003 22:53:24 +0100
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
NNTP-Posting-Host: 217.225.16.80
Message-ID: <3fb6a058$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1068933208 217.225.16.80 (15 Nov 2003 13:53:28 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed.media.kyoto-u.ac.jp!newshosting.com!news-xfer2.atl.newshosting.com!newsfeed.icl.net!newsfeed.fjserv.net!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail