Article View: borland.public.cppbuilder.nativeapi
Article #663Multiple Shell_NotifyIcon calls
From: Kris
Date: Sun, 17 Feb 2008 16:19
Date: Sun, 17 Feb 2008 16:19
23 lines
1634 bytes
1634 bytes
Hi, I noticed that when I send 2 Shell_NotifyIcon in a row, only the first is processed and the 2nd one is ignored. So, in order to get both notifications to be processed, I need to introduce a delay. I expected the last notify to replace the first notify, but apparently this does not happen. As longs as the first notify is being processed, the 2nd notify is apparently discarded. // Set default icon colour Shell_NotifyIcon(dwMessage, &IconData); // Do something, depending on result set new icon colour Shell_NotifyIcon(dwMessage, &IconData); Can someone clarify this behaviour? How can I make certain that all my notifications gets processed ? Thanks, Kris
Technical Details
Message-ID:
<47B85E8F.6040508@ks.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,fd4854ec85a82474,start X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Message-ID: <47B85E8F.6040508@ks.com> Date: Sun, 17 Feb 2008 17:19:27 +0100 From: Kris <ks@ks.com> User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi To: Kris Schoofs <kris.schoofs@pmtc.be> Subject: Multiple Shell_NotifyIcon calls Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 83.101.2.134 X-Trace: newsgroups.borland.com 1203265155 83.101.2.134 (17 Feb 2008 08:19:15 -0700) Lines: 23 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!feeder3.cambrium.nl!feeder2.cambrium.nl!feed.tweaknews.nl!193.201.147.68.MISMATCH!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail