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 do I prevent my application showing a button on the taskbar?

How do I prevent my application showing a button on the taskbar?

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 4 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.
  • A Offline
    A Offline
    adara
    wrote on last edited by
    #1

    How do I prevent my application showing a button on the taskbar? Thanx:rose:

    R J P 3 Replies Last reply
    0
    • A adara

      How do I prevent my application showing a button on the taskbar? Thanx:rose:

      R Offline
      R Offline
      Ravi Bhavnani
      wrote on last edited by
      #2

      See this article. /ravi Let's put "civil" back into "civilization" http://www.ravib.com ravib@ravib.com

      1 Reply Last reply
      0
      • A adara

        How do I prevent my application showing a button on the taskbar? Thanx:rose:

        J Offline
        J Offline
        J Patel
        wrote on last edited by
        #3

        Check out the style WS_EX_TOOLWINDOW. But this creates a smaller title bar. [edit] Check out http://msdn.microsoft.com/msdnmag/issues/0500/c/c0500.asp Jignesh

        1 Reply Last reply
        0
        • A adara

          How do I prevent my application showing a button on the taskbar? Thanx:rose:

          P Offline
          P Offline
          Paul M Watt
          wrote on last edited by
          #4

          Simply remove the WS_EX_APPWINDOW style from your window. MFC: pWnd->ModifyStyleEx(WS_EX_APPWINDOW, 0); Win32 API: LONG lStyle = ::GetWindowLong(hWnd, GWL_EXSTYLE); lStyle &= ~WS_EX_APPWINDOW; ::SetWindowLong(hWnd, GWL_EXSTYLE, lStyle);


          Build a man a fire, and he will be warm for a day
          Light a man on fire, and he will be warm for the rest of his life!

          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