View Full Version : Tray Baloon Notifications
Aramir
04-15-2003, 04:03 AM
There is a feature in Win2K/ME/XP, called "tray baloon". Looks like this:
http://www.beseder.net/temp/traybaloon.gif
(screenshot was taken from Watznew program)
I think its a great way to notify user about important stuff. Following events should be available (as options) for tray baloon notificatios:
- connecting to <...>
- connected to <...>
- transfer started: <filename.xxx> (xxx Kb)
- transfer completed: <filename.xxx> (in <hh:mm:ss>)
- transfer completed: <filename.xxx> (in <hh:mm:ss>), Queue Empty
- disconnected: <reason>
Current "sounds" menu can be modified to include these notifications setup.
MidKnight
04-15-2003, 07:04 AM
balloons annoy the crap out of me to be honest
bigstar
04-15-2003, 07:05 AM
Hello,
Would you happen to know which Windows API's are used for displaying these Tray Balloons? I've never heard of them before.
Ammo1
04-15-2003, 07:21 AM
I found this lying around...
Option Explicit
Private WithEvents sysTray As SystemTray.Application
Private Sub Form_Load()
Set sysTray = New SystemTray.Application
Call sysTray.CreateIcon(App.Path & "\Trffc10c.ico", "My Icon")
Call sysTray.ShowBalloon("Hello", &H1, "www.flasfxp.com.com")
End Sub
attached is also a baloon control thanx to vbrad.com ...
Aramir
04-15-2003, 07:56 AM
Originally posted by bigstar
Would you happen to know which Windows API's are used for displaying these Tray Balloons? I've never heard of them before. Here is a link (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/commctls/tooltip/usingtooltips.asp) to MSDN article "Using ToolTip controls", go to "Baloon Tooltips" there.
Celerex_2
04-15-2003, 07:44 PM
BStar - You're programming in Delphi right? I might have some explicit Delphi code for doing this..
bigstar
04-15-2003, 07:50 PM
yeah, delphi
Celerex_2
04-15-2003, 09:37 PM
I'll take a look.
Celerex_2
04-15-2003, 10:42 PM
I kinda looked at this and it had some good stuff in it. Not sure how useful for you it'll be but who knows.
Cool Try Example (http://www.vclcomponents.com/download.asp?ID_COMPONENT=14441)
Raccoon
04-16-2003, 05:55 AM
"Download is blocked. You can not make local copies of the pages.
Please go to www.vclcomponents.com (http://www.vclcomponents.com) and download from there."
- Raccoon
Celerex_2
04-16-2003, 10:11 AM
I'll attach the file and this is the guys homepage http://www3.brinkster.com/troels/
bigstar
04-16-2003, 12:59 PM
This wont make it into v2.1 but I'll add it to the to-do list.
vBulletin® v3.8.11 Alpha 3, Copyright ©2000-2025, vBulletin Solutions, Inc.