System tray icon

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Amongin Ewinyu

    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


  • Mattias Sjögren

    #2
    Re: System tray icon

    >when the service[color=blue]
    >starts, an icon is supposed to be placed in the system tray and this icon is
    >then used to display a balloon intermittently.[/color]

    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.

    Comment

    • Amongin Ewinyu

      #3
      Re: System tray icon

      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" <mattias.dont.w ant.spam@mvps.o rg> wrote in message
      news:uuZZP%23UN GHA.2920@TK2MSF TNGP10.phx.gbl. ..[color=blue][color=green]
      > >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.[/color]
      >
      > 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.[/color]


      Comment

      • Armin Zingler

        #4
        Re: System tray icon

        "Amongin Ewinyu" <amongin_NOT@un blinkinginsight .com> schrieb[color=blue]
        > 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??[/color]

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


        Armin

        Comment

        • Amongin Ewinyu

          #5
          Re: System tray icon

          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.nospam@free net.de> wrote in message
          news:%23Kia1XXN GHA.3164@TK2MSF TNGP11.phx.gbl. ..[color=blue]
          > "Amongin Ewinyu" <amongin_NOT@un blinkinginsight .com> schrieb[color=green]
          >> 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??[/color]
          >
          > The problem is that a service mustn't show an icon because a service does
          > not have a user interface.
          >
          >
          > Armin[/color]


          Comment

          • Armin Zingler

            #6
            Re: System tray icon

            "Amongin Ewinyu" <amongin_NOT@un blinkinginsight .com> schrieb[color=blue]
            > 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?[/color]


            Mattias? :-)



            Armin

            Comment

            • Mattias Sjögren

              #7
              Re: System tray icon

              [color=blue]
              >thanks for the response. do you have any references/websites as to where i
              >can read more about this?[/color]

              Here's some information:
              Find official documentation, practical know-how, and expert guidance for builders working and troubleshooting in Microsoft products.


              [color=blue]
              >So how do all the other icons that are displayed in the system tray stay
              >there permanently?[/color]

              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.

              Comment

              Working...