473,405 Members | 2,344 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,405 software developers and data experts.

Systray Icon

ok,

So .net makes it pretty easy to add a systray icon now. However, does
anyone know of a way to force the text (tooltip) to appear. Instead of it
only appearing when the mouse goes over it can it be forced to appear for
say 5 seconds?

Any help would be greatly appreciated. Thanks.

Nate
Oct 24 '06 #1
8 2724
Nate,

In the System.Windows.Forms.NotifyIcon object, there is a method called
ShowBalloonTop(), which accepts a parameter for the display time.

HTH
________________________________________
The Grim Reaper

"Nate" <na**@hello.comwrote in message
news:nk******************@tornado.ohiordc.rr.com.. .
ok,

So .net makes it pretty easy to add a systray icon now. However, does
anyone know of a way to force the text (tooltip) to appear. Instead of it
only appearing when the mouse goes over it can it be forced to appear for
say 5 seconds?

Any help would be greatly appreciated. Thanks.

Nate

Oct 24 '06 #2
Mr. Reaper

I'm played around with .net and having a hard time getting this bit of code
to work. Could your provide a example code sniplet?

Nate

"The Grim Reaper" <gr*********@REMOVEbtopenworld.comwrote in message
news:Lc********************@bt.com...
Nate,

In the System.Windows.Forms.NotifyIcon object, there is a method called
ShowBalloonTop(), which accepts a parameter for the display time.

HTH
________________________________________
The Grim Reaper

"Nate" <na**@hello.comwrote in message
news:nk******************@tornado.ohiordc.rr.com.. .
>ok,

So .net makes it pretty easy to add a systray icon now. However, does
anyone know of a way to force the text (tooltip) to appear. Instead of
it only appearing when the mouse goes over it can it be forced to appear
for say 5 seconds?

Any help would be greatly appreciated. Thanks.

Nate


Oct 24 '06 #3
Nate wrote:
Mr. Reaper

I'm played around with .net and having a hard time getting this bit of code
to work. Could your provide a example code sniplet?
It's simple code. Example is in the docs:

notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
notifyIcon1.BalloonTipText = "Balloon Tip Text."
notifyIcon1.BalloonTipIcon = ToolTipIcon.Error

notifyIcon1.ShowBalloonTip(30) 'Shows the ballon tip for 30
milliseconds

It's not that hard.

Oct 24 '06 #4
Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.

I did a search in the help documents 'showballoontip' comes back with
nothing.

"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@m7g2000cwm.googlegro ups.com...
Nate wrote:
>Mr. Reaper

I'm played around with .net and having a hard time getting this bit of
code
to work. Could your provide a example code sniplet?

It's simple code. Example is in the docs:

notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
notifyIcon1.BalloonTipText = "Balloon Tip Text."
notifyIcon1.BalloonTipIcon = ToolTipIcon.Error

notifyIcon1.ShowBalloonTip(30) 'Shows the ballon tip for 30
milliseconds

It's not that hard.

Oct 25 '06 #5
Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.

I did a search in the help documents 'showballoontip' comes back with
nothing.

"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@m7g2000cwm.googlegro ups.com...
Nate wrote:
>Mr. Reaper

I'm played around with .net and having a hard time getting this bit of
code
to work. Could your provide a example code sniplet?

It's simple code. Example is in the docs:

notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
notifyIcon1.BalloonTipText = "Balloon Tip Text."
notifyIcon1.BalloonTipIcon = ToolTipIcon.Error

notifyIcon1.ShowBalloonTip(30) 'Shows the ballon tip for 30
milliseconds

It's not that hard.

Oct 25 '06 #6
Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.

I did a search in the help documents 'showballoontip' comes back with
nothing.

"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@m7g2000cwm.googlegro ups.com...
Nate wrote:
>Mr. Reaper

I'm played around with .net and having a hard time getting this bit of
code
to work. Could your provide a example code sniplet?

It's simple code. Example is in the docs:

notifyIcon1.BalloonTipTitle = "Balloon Tip Title"
notifyIcon1.BalloonTipText = "Balloon Tip Text."
notifyIcon1.BalloonTipIcon = ToolTipIcon.Error

notifyIcon1.ShowBalloonTip(30) 'Shows the ballon tip for 30
milliseconds

It's not that hard.

Oct 25 '06 #7
Nate wrote:
Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.
The only thing I can think of is that the BallonTip functionality was
added in .Net 2.0. Are you using 2.0 or 1.1?

If you are using 1.1, then see this link:

http://www.codeproject.com/cs/miscctrl/notifyiconex.asp

Good Luck!

Chris

Oct 25 '06 #8
I thought this was a vb (Visual Basic) newsgroup and not C#?
That sample project does what I want but I'm not knowledgeable enough in C#
to take it apart.
"Chris Dunaway" <du******@gmail.comwrote in message
news:11**********************@e3g2000cwe.googlegro ups.com...
Nate wrote:
>Odd why do I get the following error?

'ShowBalloonTip' is not a member of 'System.Windows.Forms.NotifyIcon'.

The only thing I can think of is that the BallonTip functionality was
added in .Net 2.0. Are you using 2.0 or 1.1?

If you are using 1.1, then see this link:

http://www.codeproject.com/cs/miscctrl/notifyiconex.asp

Good Luck!

Chris

Oct 26 '06 #9

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

Similar topics

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...
4
by: mario | last post by:
How to put an application in systray with F1 or any shortcut button?
1
by: Christoph Engelhardt | last post by:
Hi newsgroup, What I intend to do: Write a small programm, that will add a new Button to every Window right beside the Buttons for minimizing, maximizing and closing the window in the window's...
3
by: Erik Greene | last post by:
I have written an application that contains a notifyicon that will not dispose or end when Windows shutsdown. I have seen other posts where people are experiencing the same issue (see post in...
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...
9
by: Rotzooi | last post by:
Hi, I have a VB.NET Service application that's running fine under the Local System account. But for configuration purposes I don't want to be dependent on modifying the registry manually or...
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...
2
by: Arvi | last post by:
Hello, Im quite new to c# windows application. i need to write a application which stays on the systray and listens to the SQL Table. (when the value is inserted as 0 - done thru Dataset and...
4
by: Nick Craig-Wood | last post by:
Does anyone have some hints / tips / experience with making a cross platform systray icon? It should work on Windows, Gnome and KDE at minimum. I've seen the win32all code which is very similar...
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...
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.