🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Receiving NIN_BALLOONUSERCLICK from system tray balloon

#4506
From: Kris
Date: Wed, 18 Jan 2006 17:59
24 lines
1651 bytes
On 17 Jan 2006 11:24:26 -0700, "JD" <nospam@nospam.com> wrote:
>So does this:
>    http://groups.google.com/group/borland.public.cppbuilder.vcl.components.using/msg/57af11b9a35689b0
>

Excellent. Today I tried your code and it works great ! Many thanks
for this.

So only one problem remains :

NO_WIN32_LEAN_AND_MEAN cannot be defined if I want to successfully
compile JD's TrayIcon code.

However, NO_WIN32_LEAN_AND_MEAN needs to be defined in order to use :
#include "shlobj.h" => Without the LEAN_MEAN you get several errors
SHGetFolderPath(
	NULL,
	CSIDL_COMMON_APPDATA,
	NULL,
	0,
	szPath);

I'll play around with #undef in the hope of finding the right
combination.
Technical Details
Message-ID: <180ts1hmp1flqcedujfrlbu7m54ocru5n4@4ax.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.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: Wed, 18 Jan 2006 18:59:28 +0100
Message-ID: <180ts1hmp1flqcedujfrlbu7m54ocru5n4@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.254.102
X-Trace: newsgroups.borland.com 1137607005 81.11.254.102 (18 Jan 2006 09:56:45 -0700)
Lines: 25
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news3.google.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