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. Start app without taskbar icon

Start app without taskbar icon

Scheduled Pinned Locked Moved C / C++ / MFC
questioncom
6 Posts 4 Posters 1 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.
  • _ Offline
    _ Offline
    _Flaviu
    wrote on last edited by
    #1

    I saw here: Creating an application with no taskbar icon[^] an good solution to start an app without taskbar icon (which work fine), but how can I switch it back (I mean show taskbar icon at some point) ?

    L J 2 Replies Last reply
    0
    • _ _Flaviu

      I saw here: Creating an application with no taskbar icon[^] an good solution to start an app without taskbar icon (which work fine), but how can I switch it back (I mean show taskbar icon at some point) ?

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

      You should post the question in the forum at the end of the article, so the person who created the code can answer.

      1 Reply Last reply
      0
      • _ _Flaviu

        I saw here: Creating an application with no taskbar icon[^] an good solution to start an app without taskbar icon (which work fine), but how can I switch it back (I mean show taskbar icon at some point) ?

        J Offline
        J Offline
        Jochen Arndt
        wrote on last edited by
        #3

        If you use another method to remove the taskbar icon by the ITaskbarList interface (Windows)[^] as described in the article How To Hide A Window in TaskBar[^], you can add the icon later with the ITaskbarList::AddTab method (Windows)[^].

        _ 1 Reply Last reply
        0
        • J Jochen Arndt

          If you use another method to remove the taskbar icon by the ITaskbarList interface (Windows)[^] as described in the article How To Hide A Window in TaskBar[^], you can add the icon later with the ITaskbarList::AddTab method (Windows)[^].

          _ Offline
          _ Offline
          _Flaviu
          wrote on last edited by
          #4

          Thank you ! This could be a good track to follow ... until then, I am facing to far more easy problem: How To Hide A Window in TaskBar[^] :)

          L J 2 Replies Last reply
          0
          • _ _Flaviu

            Thank you ! This could be a good track to follow ... until then, I am facing to far more easy problem: How To Hide A Window in TaskBar[^] :)

            L Offline
            L Offline
            leon de boer
            wrote on last edited by
            #5

            The rules for that are spelled out in detail from Microsoft The Taskbar[^]

            SetWindowLong(yourHWND, GWL_EXSTYLE, GetWindowLong(yourHWND, GWL_EXSTYLE) & ~(WS_EX_APPWINDOW | WS_EX_TOOLWINDOW));

            Straight after you create the window grab the handle and change the style flags and it will stop it being displayed.

            In vino veritas

            1 Reply Last reply
            0
            • _ _Flaviu

              Thank you ! This could be a good track to follow ... until then, I am facing to far more easy problem: How To Hide A Window in TaskBar[^] :)

              J Offline
              J Offline
              Jochen Arndt
              wrote on last edited by
              #6

              It is easy and can be easily solved by just reading the article:

              typedef ITaskbarList *LPITaskbarList

              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