🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Balloon tooltips for status bar icons

#2278
From: Mike K
Date: Mon, 19 Mar 2007 22:58
13 lines
1415 bytes
Anyone have working sample code to pop up a balloon on the status bar?

I'm using BCB5 and have a small app that creates a tray icon, then 
hides. I update the icon color occasionally with Shell_NotifyIcon(), and 
this works perfectly.  What I'd like to do is add an occasional popup 
balloon. I copied code from

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp

and tweaked it a bit so it would compile, but the routine that displays 
the balloon does nothing (visible).

Thanks for any help.
Technical Details
Message-ID: <45ff1580$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d463bc5f0af22cfa,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Date: Mon, 19 Mar 2007 17:58:10 -0500
From: Mike K <nospam@nospam.net>
User-Agent: Thunderbird 1.5.0.10 (Windows/20070221)
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Balloon tooltips for status bar icons
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 74.38.237.178
Message-ID: <45ff1580$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1174345088 74.38.237.178 (19 Mar 2007 15:58:08 -0800)
Lines: 13
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail