Article View: borland.public.cppbuilder.nativeapi
Article #4504Re: Receiving NIN_BALLOONUSERCLICK from system tray balloon
From: Darko Miletic
Date: Wed, 18 Jan 2006 14:58
Date: Wed, 18 Jan 2006 14:58
13 lines
1965 bytes
1965 bytes
JD wrote: > If this doesn't work, then it's because the wrong HWND is > getting the message. I don't have BDS (yet) so I can't look > at that component to tell you exactly what to do. What you > need is to associate that message map with the HWND or Handle > that the component is sending messages to. It does not work because component creates hidden window with AllocateHwnd internaly. To get around this issue user needs to inherit TCustomTrayIcon in a new component and add proper handling of new messages to WindowProc function and probably some new event etc. Darko
Technical Details
Message-ID:
<43ce56ed@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<0dbqs15pnttts94lrl0gfkv1qmdi5r7v2g@4ax.com> <43cd446a$1@newsgroups.borland.com> <etiqs1l4jrqdiv9tmdtvn21ea51agjh5rr@4ax.com> <43cd4df1$1@newsgroups.borland.com> <4rjqs1tm8kga0600i4ifonpfa0erubkh7l@4ax.com> <43ce40cc$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,2165941223f42fca X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit Date: Wed, 18 Jan 2006 11:58:22 -0300 From: Darko Miletic <darko@uvcms.com> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051201 Thunderbird/1.5 Mnenhy/0.7.3.0 MIME-Version: 1.0 Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Receiving NIN_BALLOONUSERCLICK from system tray balloon References: <0dbqs15pnttts94lrl0gfkv1qmdi5r7v2g@4ax.com> <43cd446a$1@newsgroups.borland.com> <etiqs1l4jrqdiv9tmdtvn21ea51agjh5rr@4ax.com> <43cd4df1$1@newsgroups.borland.com> <4rjqs1tm8kga0600i4ifonpfa0erubkh7l@4ax.com> <43ce40cc$1@newsgroups.borland.com> In-Reply-To: <43ce40cc$1@newsgroups.borland.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Antivirus: avast! (VPS 0603-2, 01/17/2006), Outbound message X-Antivirus-Status: Clean NNTP-Posting-Host: 201.252.4.136 Message-ID: <43ce56ed@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1137596141 201.252.4.136 (18 Jan 2006 06:55:41 -0700) Lines: 13 Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!meganewsservers.com!feeder2.on.meganewsservers.com!news-out.newsfeeds.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail