Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. How to get a Program to show in SysTray instead of on the Running App Bar.

How to get a Program to show in SysTray instead of on the Running App Bar.

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialworkspace
5 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bram van Kampen
    wrote on last edited by
    #1

    Hi, I've just (nearly) completed a module that provides usefull services to my Suite of programs. It spends most of it's time waiting on a pipe for a message. It is written as a Dlg based MFC App, but it never gets as far as showing the Dialog. All relevant Code is called in CWinApp::InitApp() It has no output, All output is sent back to the Client over a Pipe, only if things realy screw up, does it write output to an Event file. What do I do to have this app started as part of the system startup, and what do I do to start this Not as a Running App, but as something that sits in the sys tray. My Target Environment is Windows XP. Vista Restrictions are not an issue here. Regards, :) :)

    Bram van Kampen

    S T 2 Replies Last reply
    0
    • B Bram van Kampen

      Hi, I've just (nearly) completed a module that provides usefull services to my Suite of programs. It spends most of it's time waiting on a pipe for a message. It is written as a Dlg based MFC App, but it never gets as far as showing the Dialog. All relevant Code is called in CWinApp::InitApp() It has no output, All output is sent back to the Client over a Pipe, only if things realy screw up, does it write output to an Event file. What do I do to have this app started as part of the system startup, and what do I do to start this Not as a Running App, but as something that sits in the sys tray. My Target Environment is Windows XP. Vista Restrictions are not an issue here. Regards, :) :)

      Bram van Kampen

      S Offline
      S Offline
      sashoalm
      wrote on last edited by
      #2

      Bram van Kampen wrote:

      What do I do to have this app started as part of the system startup

      You can place a shortcut in the Start Menu, in Programs->Startup.

      There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

      B 1 Reply Last reply
      0
      • S sashoalm

        Bram van Kampen wrote:

        What do I do to have this app started as part of the system startup

        You can place a shortcut in the Start Menu, in Programs->Startup.

        There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

        B Offline
        B Offline
        Bram van Kampen
        wrote on last edited by
        #3

        Yes,But That will start it as an App, not in the SysTray. That's hat I've been doing sofar. Not an answer to my question. :)

        Bram van Kampen

        S 1 Reply Last reply
        0
        • B Bram van Kampen

          Hi, I've just (nearly) completed a module that provides usefull services to my Suite of programs. It spends most of it's time waiting on a pipe for a message. It is written as a Dlg based MFC App, but it never gets as far as showing the Dialog. All relevant Code is called in CWinApp::InitApp() It has no output, All output is sent back to the Client over a Pipe, only if things realy screw up, does it write output to an Event file. What do I do to have this app started as part of the system startup, and what do I do to start this Not as a Running App, but as something that sits in the sys tray. My Target Environment is Windows XP. Vista Restrictions are not an issue here. Regards, :) :)

          Bram van Kampen

          T Offline
          T Offline
          tanvon malik
          wrote on last edited by
          #4

          Hi see these http://www.codeproject.com/KB/shell/systemtray.aspx[^] http://www.codeproject.com/KB/shell/trayicons.aspx[^]

          tanvon malik http://tanvon.wordpress.com http://DirectShow.wordpress.com DirectShow in URDU language http://groups.yahoo.com/group/tanvon http://www.codeproject.com/script/articles/list_articles.asp?userid=1638055

          1 Reply Last reply
          0
          • B Bram van Kampen

            Yes,But That will start it as an App, not in the SysTray. That's hat I've been doing sofar. Not an answer to my question. :)

            Bram van Kampen

            S Offline
            S Offline
            sashoalm
            wrote on last edited by
            #5

            I don't think it's so. AFAIK being in the system tray has nothing to do with how the process is started. Skype for example goes to the tray even if it's started by double-clicking it's icon. So does Vmware and Process Explorer. Anyway, try: this article[^]

            There is sufficient light for those who desire to see, and there is sufficient darkness for those of a contrary disposition. Blaise Pascal

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups