By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,556 Members | 1,448 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,556 IT Pros & Developers. It's quick & easy.

System tray icon

P: n/a
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
Share this Question
Share on Google+
6 Replies


P: n/a
>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

P: n/a
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

P: n/a
"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

P: n/a
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

P: n/a
"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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.