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

System tray icon

Hi,

I have an application that is controlled by a service. when the service
starts, an icon is supposed to be placed in the system tray and this icon is
then used to display a balloon intermittently. the problem is that when the
icon is placed in the balloon and for some time after this, it is visible in
the system tray, but after some time if i try to hover the mouse over the
icon, it then disappears, although i still get a message that it is visible.

this happens whether "hide inactive icons" on the taskbar properties is
checked or not.

please let me know what i may be doing wrong...at my wits end. i am working
in VS 2003

Thanks for any help.

amongin
Feb 19 '06 #1
6 1762
>when the service
starts, an icon is supposed to be placed in the system tray and this icon is
then used to display a balloon intermittently.


Is the icon added by the service itself or a separate application that
communicates with the service?
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Feb 19 '06 #2
Thanks for replying.

The icon is added by the service when it starts running.

I have now transferred my program to VS 2005 and still getting the same
problem.

The notify icon is on a component and not on a form, could this be the
problem??

amongin

"Mattias Sjögren" <ma********************@mvps.org> wrote in message
news:uu****************@TK2MSFTNGP10.phx.gbl...
when the service
starts, an icon is supposed to be placed in the system tray and this icon
is
then used to display a balloon intermittently.


Is the icon added by the service itself or a separate application that
communicates with the service?
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.

Feb 19 '06 #3
"Amongin Ewinyu" <am*********@unblinkinginsight.com> schrieb
Thanks for replying.

The icon is added by the service when it starts running.

I have now transferred my program to VS 2005 and still getting the
same problem.

The notify icon is on a component and not on a form, could this be
the problem??


The problem is that a service mustn't show an icon because a service does
not have a user interface.
Armin

Feb 19 '06 #4
Hi,
thanks for the response. do you have any references/websites as to where i
can read more about this?

So how do all the other icons that are displayed in the system tray stay
there permanently?

Amongin

"Armin Zingler" <az*******@freenet.de> wrote in message
news:%2****************@TK2MSFTNGP11.phx.gbl...
"Amongin Ewinyu" <am*********@unblinkinginsight.com> schrieb
Thanks for replying.

The icon is added by the service when it starts running.

I have now transferred my program to VS 2005 and still getting the
same problem.

The notify icon is on a component and not on a form, could this be
the problem??


The problem is that a service mustn't show an icon because a service does
not have a user interface.
Armin

Feb 20 '06 #5
"Amongin Ewinyu" <am*********@unblinkinginsight.com> schrieb
Hi,
thanks for the response. do you have any references/websites as to
where i can read more about this?

So how do all the other icons that are displayed in the system tray
stay there permanently?

Mattias? :-)

Armin
Feb 20 '06 #6
thanks for the response. do you have any references/websites as to where i
can read more about this?
Here's some information:
http://msdn.microsoft.com/library/en...e_services.asp

So how do all the other icons that are displayed in the system tray stay
there permanently?


There's typically a separate application configured to run at startup
(or rather when the user logs in). It communicates with the service
through some IPC mechanism.
Mattias

--
Mattias Sjögren [C# MVP] mattias @ mvps.org
http://www.msjogren.net/dotnet/ | http://www.dotnetinterop.com
Please reply only to the newsgroup.
Feb 20 '06 #7

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

Similar topics

3
by: Nicolas Poirier | last post by:
I successfully made a system tray application. When I do shut down the computer, how does the computer can instruct my application to shut down? For the moment, if I don't quit my application,...
10
by: One Handed Man [ OHM ] | last post by:
If this is duplicated, I'm sorry because I cant find the original post I made today Anyway . . Now its my turn to ask a question I want to develop an app which will run in the system tray....
5
by: BJ | last post by:
I am trying to add my application to the system tray. I am not using the built in control becuase of the limitation that you can not use the balloon tool tip feature. I have done this succesfully...
4
by: Tom | last post by:
Hello, System tray icon informs users that the apps is running in the background. However, there are instances that the app might crash and after that the app icon in the system tray is still...
3
by: Stanley | last post by:
Hi all the helpful people out there! I want to dectect system tray so that when an icon is added to the tray, it will alert me! Just like the Printer icon appear with someone prints! Thanks in...
3
by: Patrick Dugan | last post by:
I am using VS2005 (vb) and I have a program that starts when Windows boots up. Occasionally the icon that should appear in the system tray does not show up. The program is still running in memory...
3
by: Joseph Geretz | last post by:
The conventional approach is easy enough; drop a NotifyIcon onto a Form. When the form is loaded - bingo - the icon appears in the System Tray. I can't use this approach though. I'm writing a...
1
by: =?Utf-8?B?RW5naW5lZXJpaw==?= | last post by:
I have an application which uses a notification icon in the system tray. When the application is closed the notification icon remains in the system tray until I hover over it with the mouse. How...
3
by: holaboxdotcom | last post by:
Hey I'm pretty new to C# (started few hours ago) but i learn extremly fast, i have previous knowledge of php, javascript and flash. I have made my first simple application the way i want it,...
1
by: =?iso-8859-1?B?S2VyZW0gR/xtcvxrY/w=?= | last post by:
Hi, how can i remove/disable the tray icon for the started Express Edition from the system tray. Te icon directs me to the express editons website after clicking on it. I dont want these tray...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
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: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
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...

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.