Article View: borland.public.cppbuilder.nativeapi
Article #667Re: Multiple Shell_NotifyIcon calls
From: Remy Lebeau (TeamB)
Date: Tue, 19 Feb 2008 17:38
Date: Tue, 19 Feb 2008 17:38
26 lines
1690 bytes
1690 bytes
"Kris" <ks@ks.com> wrote in message news:47B85E8F.6040508@ks.com... > I noticed that when I send 2 Shell_NotifyIcon in a row, > only the first is processed and the 2nd one is ignored. Are you specifying the same ID to update the same icon each time? Or are you specifying different IDs to update separate icons? > So, in order to get both notifications to be processed, I > need to introduce a delay. No, you don't. > I expected the last notify to replace the first notify, but > apparently this does not happen. Please show your actual code. > As longs as the first notify is being processed, the 2nd notify > is apparently discarded. The first notify is completely finished before Shell_NotifyIcon() exits. Gambit
Technical Details
Message-ID:
<47bb1415$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeeder.dynfx.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<47B85E8F.6040508@ks.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fd4854ec85a82474 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <47B85E8F.6040508@ks.com> Subject: Re: Multiple Shell_NotifyIcon calls Date: Tue, 19 Feb 2008 09:38:57 -0800 Lines: 28 Organization: Lebeau Software X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.3138 X-RFC2646: Format=Flowed; Response X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198 NNTP-Posting-Host: 207.178.157.90 Message-ID: <47bb1415$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1203442709 207.178.157.90 (19 Feb 2008 09:38:29 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!proxad.net!feeder1-2.proxad.net!newsfeeder.dynfx.net!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail