473,385 Members | 1,855 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

how to: baloon notification for NotifyIcon

Hi,
I have a NotifyIcon object. The user sees it near the clock on the desktop.
Now, I want to tell the user that something happend (Like when Windows says
that updates are ready to be installed)- a small baloon that comes out of
the icon.
Does anyone knows how to do it?
Regards,
Ram.
Nov 16 '05 #1
3 6193
Ram,

The NotifyIcon class doesn't have support for this, I believe. In order
to do this, you would have to access the API directly.

There is an article on CodeProject.com detailing how to do this. It is
titled "Displaying a Notify Icon's Balloon Tool Tip" and can be located at
(watch for line wrap):

http://www.codeproject.com/csharp/notifyballoon.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ram Baruch" <ra*********@newsgroups.nospam> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a NotifyIcon object. The user sees it near the clock on the desktop. Now, I want to tell the user that something happend (Like when Windows says that updates are ready to be installed)- a small baloon that comes out of
the icon.
Does anyone knows how to do it?
Regards,
Ram.

Nov 16 '05 #2
I had done it in Win32 and I would like to add that I had to get platform
SDK updates for the balloon thing,

--Saurabh
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:%2****************@TK2MSFTNGP12.phx.gbl...
Ram,

The NotifyIcon class doesn't have support for this, I believe. In order to do this, you would have to access the API directly.

There is an article on CodeProject.com detailing how to do this. It is titled "Displaying a Notify Icon's Balloon Tool Tip" and can be located at
(watch for line wrap):

http://www.codeproject.com/csharp/notifyballoon.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ram Baruch" <ra*********@newsgroups.nospam> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a NotifyIcon object. The user sees it near the clock on the

desktop.
Now, I want to tell the user that something happend (Like when Windows

says
that updates are ready to be installed)- a small baloon that comes out of the icon.
Does anyone knows how to do it?
Regards,
Ram.


Nov 16 '05 #3
its ok, I used the example and it works for me.
Thanks!

"Saurabh" <sa*****@nagpurcity.net> wrote in message
news:Ok**************@TK2MSFTNGP09.phx.gbl...
I had done it in Win32 and I would like to add that I had to get platform
SDK updates for the balloon thing,

--Saurabh
"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
Ram,

The NotifyIcon class doesn't have support for this, I believe. In

order
to do this, you would have to access the API directly.

There is an article on CodeProject.com detailing how to do this. It

is
titled "Displaying a Notify Icon's Balloon Tool Tip" and can be located at
(watch for line wrap):

http://www.codeproject.com/csharp/notifyballoon.asp

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Ram Baruch" <ra*********@newsgroups.nospam> wrote in message
news:Oc**************@TK2MSFTNGP11.phx.gbl...
Hi,
I have a NotifyIcon object. The user sees it near the clock on the

desktop.
Now, I want to tell the user that something happend (Like when Windows

says
that updates are ready to be installed)- a small baloon that comes out

of the icon.
Does anyone knows how to do it?
Regards,
Ram.



Nov 16 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: petterl | last post by:
I have tried to find the error in the code below but I always get " An unhandled exception of type 'System.NullReferenceException' occurred in Unknown Module. Additional information: Object...
2
by: Rob Mayo | last post by:
OK, maybe this is my opinion, maybe these are bugs. Given the folowing: I have a NotifyIcon on my Form, a Context menu associated with the NotifyIcon, and a MenuItem on the ContextMenu set as...
3
by: Glen | last post by:
Can anyone tell me if there is a workable method to get the mouse cursor position on the screen or the NotifyIcon position? I need to display a context menu for the NotifyIcon when clicked and I'd...
2
by: alexmaster_2004 | last post by:
hi there i want to know how i can put my application to the system notification area? and when i click its icon a menu appears. this have to be done with C#. Thanks for your time El-Sayed Mohamed
5
by: ham Come> | last post by:
There is a very useful method of user informing in XP, using the balloon tips in the notification area. I know XP is written in C++/C and many of C++ programs already do it ( Ballooning) . I just...
1
by: savvaschr | last post by:
Hello Is there a command or a way to have a vb.net aplication run in the notification area of the taskbar toolbar? I have a vb.net aplication and i want it after loading to minimize and to...
4
by: ksrajalakshmi | last post by:
Hai , When running application, the icon shoul not be displayed in taskbar,rather than, it is to be displayed in the notoification area where the system time is displayed. What steps to be...
7
by: Brian | last post by:
hello Gentlemen, been trying to get a shell program working where I have a Windows service that also has a Notification icon in the system tray..... I got this idea from microsofts Visual...
8
by: starrysky | last post by:
I have a program which puts an icon in the notification area and has a menu associated with it available by right clicking on the icon. I want the menu items to be selected by single left clicks but...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.