🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Receiving NIN_BALLOONUSERCLICK from system tray balloon

#4497
From: Kris
Date: Tue, 17 Jan 2006 20:04
60 lines
3595 bytes
Thanks for the feedback...

On 17 Jan 2006 11:24:26 -0700, "JD" <nospam@nospam.com> wrote:
>You did a poor job because it is not:
>>	#define NIN_BALLOONUSERCLICK (WM_USER + 5)
What is the real value then ? I cannot find any other references to
it.

>So does this:
>    http://groups.google.com/group/borland.public.cppbuilder.vcl.components.using/msg/57af11b9a35689b0
From the posting I created following files :
- AnimatedTrayIcon.cpp and .h
- TrayThread.cpp and .h

Compiling it still leaves me with the problem that I don't know the
value of several #defines such as NIN_BALLOONUSERCLICK :

[C++ Error] AnimatedTrayIcon.cpp(332): E2451 Undefined symbol
'NIN_BALLOONSHOW'
[C++ Error] AnimatedTrayIcon.cpp(333): E2451 Undefined symbol
'NIN_BALLOONHIDE'
[C++ Error] AnimatedTrayIcon.cpp(333): E2172 Duplicate case
[C++ Error] AnimatedTrayIcon.cpp(336): E2451 Undefined symbol
'NIN_BALLOONUSERCLICK'
[C++ Error] AnimatedTrayIcon.cpp(336): E2172 Duplicate case
[C++ Error] AnimatedTrayIcon.cpp(336): E2379 Statement missing ;
[C++ Error] AnimatedTrayIcon.cpp(621): E2316 'uTimeout' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(622): E2451 Undefined symbol
'NIF_INFO'
[C++ Error] AnimatedTrayIcon.cpp(623): E2316 'szInfo' is not a member
of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(624): E2316 'szInfoTitle' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(628): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(628): E2451 Undefined symbol
'NIIF_NOSOUND'
[C++ Error] AnimatedTrayIcon.cpp(629): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(629): E2451 Undefined symbol
'NIIF_ERROR'
[C++ Error] AnimatedTrayIcon.cpp(630): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(630): E2451 Undefined symbol
'NIIF_WARNING'
[C++ Error] AnimatedTrayIcon.cpp(631): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(632): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(632): E2451 Undefined symbol
'NIIF_INFO'
[C++ Error] AnimatedTrayIcon.cpp(635): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(639): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
[C++ Error] AnimatedTrayIcon.cpp(639): E2451 Undefined symbol
'NIIF_NONE'
[C++ Error] AnimatedTrayIcon.cpp(641): E2316 'dwInfoFlags' is not a
member of '_NOTIFYICONDATAA'
Technical Details
Message-ID: <etiqs1l4jrqdiv9tmdtvn21ea51agjh5rr@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!pln-w!lotsanews.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <0dbqs15pnttts94lrl0gfkv1qmdi5r7v2g@4ax.com> <43cd446a$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
From: Kris <x.y@xyz.xx>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: Receiving NIN_BALLOONUSERCLICK from system tray balloon
Date: Tue, 17 Jan 2006 21:04:24 +0100
Message-ID: <etiqs1l4jrqdiv9tmdtvn21ea51agjh5rr@4ax.com>
References: <0dbqs15pnttts94lrl0gfkv1qmdi5r7v2g@4ax.com> <43cd446a$1@newsgroups.borland.com>
X-Newsreader: Forte Free Agent 3.1/32.783
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 81.11.225.129
X-Trace: newsgroups.borland.com 1137528105 81.11.225.129 (17 Jan 2006 12:01:45 -0700)
Lines: 60
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshub.sdsu.edu!pln-w!lotsanews.com!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail