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. iconify application?

iconify application?

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
4 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.
  • T Offline
    T Offline
    ThinkingPrometheus
    wrote on last edited by
    #1

    hiho@ll i want to write an app which can iconify another application (should be independent what kind of application it is) the problem: i have a prog running the whole day the prog itself can no the iconified to the systray well, that's not correct it is in the systray, but it is also in the task bar so i don't want to see it in the taskbar because it just waits the whole day and does most of the time nothing (but it is needed!) anybody knows how i can make the prog just sit in the systray?

    L D 2 Replies Last reply
    0
    • T ThinkingPrometheus

      hiho@ll i want to write an app which can iconify another application (should be independent what kind of application it is) the problem: i have a prog running the whole day the prog itself can no the iconified to the systray well, that's not correct it is in the systray, but it is also in the task bar so i don't want to see it in the taskbar because it just waits the whole day and does most of the time nothing (but it is needed!) anybody knows how i can make the prog just sit in the systray?

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      This may help you[^]


      "Success is the ability of going from one failure to another with no loss of enthusiasm" - W.Churchill

      T 1 Reply Last reply
      0
      • L Lost User

        This may help you[^]


        "Success is the ability of going from one failure to another with no loss of enthusiasm" - W.Churchill

        T Offline
        T Offline
        ThinkingPrometheus
        wrote on last edited by
        #3

        that was a great hint but: i made a prog as described in the tutorial it worked great now i tried to catch the HWND from a mouseclick to get the window for which i want invisible the task bar icon (the systray should be visible) what i do: catch the click use WindowFromPoint to get the clicked window create a new CWnd which is invisible set the parent of the clicked window to the invisible window well the whole window is invisible hmm don't realy know the problem/solution what could be the problem? anybody knows an answer? thx

        1 Reply Last reply
        0
        • T ThinkingPrometheus

          hiho@ll i want to write an app which can iconify another application (should be independent what kind of application it is) the problem: i have a prog running the whole day the prog itself can no the iconified to the systray well, that's not correct it is in the systray, but it is also in the task bar so i don't want to see it in the taskbar because it just waits the whole day and does most of the time nothing (but it is needed!) anybody knows how i can make the prog just sit in the systray?

          D Offline
          D Offline
          David Crow
          wrote on last edited by
          #4

          Search for the Shell_NotifyIcon() function.


          "One must learn from the bite of the fire to leave it alone." - Native American Proverb

          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