Article View: borland.public.cppbuilder.nativeapi
Article #6114Re: TrayIcon & RegisterWindowMessage(...)
From: Danila Vershinin
Date: Thu, 09 Jun 2005 20:49
Date: Thu, 09 Jun 2005 20:49
27 lines
2034 bytes
2034 bytes
"Vladimir Stefanovic" <antivari@po.sbb.co.yu> wrote in message news:42a852a0$1@newsgroups.borland.com... <.....> :) Hi Vladimir, I've recently added the same thing to my new TTrayIcon component :) Yes, there is one thing I am kinda concerned about, but maybe you should not be concerned about that:) Try this: Force your trayicon to display a balloon tooltip and right when the tooltip is present kill the explorer.exe. Or never mind that, I think I've overlooked smth with the NOTIFYICONDATA structure when re-adding the icon... :) <(It's funny to see that many other famous apps does not have such code implemented!) It's funny to see how a famous antivirus program crashes even after you disable one of its startup entries :)... An anitivirus program is supposed to be stable.. but what I get is "Application has failed to start, please reinstall the program", program's name I am not telling *** Norton Antivirus 2005*** lol Well, back to your question. Now your icon might dissapear if your program closes, lol :) .. or if the user kills it with Task Manager :))) Cheers
Technical Details
Message-ID:
<42a8ac22@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<42a852a0$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,f312b7ce128d591 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Danila Vershinin" <danprep@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <42a852a0$1@newsgroups.borland.com> Subject: Re: TrayIcon & RegisterWindowMessage(...) Date: Fri, 10 Jun 2005 00:49:20 +0400 Lines: 32 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2527 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527 X-RFC2646: Format=Flowed; Response NNTP-Posting-Host: 62.33.221.41 Message-ID: <42a8ac22@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1118350370 62.33.221.41 (9 Jun 2005 13:52:50 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!news-out.newsfeeds.com!propagator3-LAX.newsfeeds.com!news-in.superfeed.net!caladan.landsraad.net!newsgroups.borland.com!not-for-mail