473,395 Members | 1,516 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,395 software developers and data experts.

popup balloon from systray using c#/.net

hi,

Is there a way to popup the balloon notifications from the systray
which are so common in xp (e.g., windows messenger, usb device plug in,
microsoft antispyware, etc)? I have found several ways of doing it
using MFC and/or Win32 API on codeproject.com, but I am using .NET for
this project.

Thanks.

Nov 16 '05 #1
5 14616
If you're referring to this on codeproject
http://www.codeproject.com/csharp/notifyballoon.asp

It's written in .NET. No worries about P/Invoking to get what you want
done...

--
W.G. Ryan MVP (Windows Embedded)

TiBA Solutions
www.tibasolutions.com | www.devbuzz.com | www.knowdotnet.com
"yk63fd01" <yk******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
hi,

Is there a way to popup the balloon notifications from the systray
which are so common in xp (e.g., windows messenger, usb device plug in,
microsoft antispyware, etc)? I have found several ways of doing it
using MFC and/or Win32 API on codeproject.com, but I am using .NET for
this project.

Thanks.

Nov 16 '05 #2
Actually, I hadn't found that article on codeproject. But, according
to the author, it uses quite a few hacks. I'm afraid the ClassName
would change with a new version of the framework. Are there any other
..NET solutions for this?

Nov 16 '05 #3
There actually is a better way listed in the discussion on that board
(under 'better way') (i.e., using reflection to determine the Handle of
the notify icon), but even it, according to the follow-up from the
original author, has some risks (which I don't exactly understand).
(something about using private fields and guessing the id of the icon
(both of which I don't actually see, can you clarify if you see
these??)).

Nov 16 '05 #4
NotifyIcon XP adds Balloon Popup support to the NotifyIcon as well as fixing
the OwnerDraw menuitems bug.
http://www.windowsforms.net/ControlG...59&tabindex=10

--
Mick Doherty
http://dotnetrix.co.uk/nothing.html
"yk63fd01" <yk******@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
hi,

Is there a way to popup the balloon notifications from the systray
which are so common in xp (e.g., windows messenger, usb device plug in,
microsoft antispyware, etc)? I have found several ways of doing it
using MFC and/or Win32 API on codeproject.com, but I am using .NET for
this project.

Thanks.

Nov 16 '05 #5
Great! Thanks!

Nov 16 '05 #6

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

Similar topics

2
by: Aki Niimura | last post by:
Hello everyone, I'm encountering a weird problem and couldn't find any Internet postings that are relevant to my problem and it seems coming from the Pmw Balloon widget inside. I have...
7
by: Steve Jorgensen | last post by:
Hi all, Well, MS finally got the best of all worlds with the way the new message popup works in Outlook 2002. Does anyone know how a similar custom popup could be implemented from VBA, or if...
6
by: Action | last post by:
I can add a systray icon in normal windows application... but when i do it in windows service, the systray icon just don't show up is that because i don't have any "component" to contain the...
3
by: Jon Bosker | last post by:
I have written an application that lives in the systray but when I try to close windows or logout it does not close my application and therefore prevents windows from shutting down or logging me...
0
by: kapcreations | last post by:
I have a system tray app which gets the status of a windows service, and displays the appropriate icon for the status of the service in the systray. the problem I am having is the icon disapears...
5
by: futureofai | last post by:
How do i create a popup notification above the taskbar like MSN messenger and other software using VB?? Is it easier to do this in VB or VB.Net? Directions and links to source that does this...
8
by: Rob R. Ainscough | last post by:
I have a VS 2005 Windows Service with a Installer project as part of my solution. The Service installs fine but I can't seem to make either of these work: 1. Have the service start after...
3
devonknows
by: devonknows | last post by:
Hi, what it is I've got balloon tips working after a lot of trial and error lol and it comes up when the application is minimized to the tray notifying the user that it has been minimized. What I...
2
by: makko | last post by:
Greetings, I need to create a function that will produce a balloon popup in the taskbar when called. Whats the shortest and easiest way to do this? Thanks. regards, Makko
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

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.