🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Displaying Baloon tips in the taskbar

#6441
From: Vladimir Stefanovic
Date: Sat, 07 May 2005 14:29
45 lines
2480 bytes
Google for:
msdn NOTIFYICONDATA Structure

That's the link:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/notifyicondata.asp

And here are they (but look carefuly, some are available only on XPSP2)

<quote>
dwInfoFlags
Version 5.0. Flags that can be set to add an icon to a balloon ToolTip. It 
is placed to the left of the title. If the szInfoTitle member is 
zero-length, the icon is not shown.
  NIIF_ERROR
  An error icon.
  NIIF_INFO
  An information icon.
  NIIF_NONE
  No icon.
  NIIF_USER
  Windows XP Service Pack 2 (SP2) and later. Use the icon identified in 
hIcon as the notification balloon's title icon.
  NIIF_WARNING
  A warning icon.
  NIIF_ICON_MASK
  Version 6.0. Reserved.
  NIIF_NOSOUND
  Version 6.0. Do not play the associated sound. Applies only to balloon 
ToolTips.
</quote>:

Then just replace the flag in your existing code (where you used NIIF_INFO),
by those listed and check what's happening.


-- 
Best regards,
Vladimir Stefanovic
"Danila Vershinin" <danprep@yahoo.com> wrote in message 
news:427cc708@newsgroups.borland.com...
> anyway, how do I change the icon within the balloon itself? I mean there 
> should a flag or smth that would change its type, for instance some 
> windows balloon tips have icon "warning" others have information 
> notification icons...
> 
Technical Details
Message-ID: <427cd0b3@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42762d6f@newsgroups.borland.com> <4278b6a6@newsgroups.borland.com> <4278dac5@newsgroups.borland.com> <4278e30c@newsgroups.borland.com> <427cc708@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,592a743b28e0761c
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Vladimir Stefanovic" <antivari@po.sbb.co.yu>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42762d6f@newsgroups.borland.com> <4278b6a6@newsgroups.borland.com> <4278dac5@newsgroups.borland.com> <4278e30c@newsgroups.borland.com> <427cc708@newsgroups.borland.com>
Subject: Re: Displaying Baloon tips in the taskbar
Date: Sat, 7 May 2005 16:29:06 +0200
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 82.117.212.65
Message-ID: <427cd0b3@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1115476147 82.117.212.65 (7 May 2005 07:29:07 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!news.glorb.com!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail