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. changes in taskbar

changes in taskbar

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
5 Posts 2 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.
  • C Offline
    C Offline
    Cvaji
    wrote on last edited by
    #1

    hello everybody, Is there any way to get the notification of changes in taskbar. E.g: Any new window started to display in taskbar? Any existing window closed in taskbar? Any windows in taskbar is flashing in taskbar? I need to get such notifications. Help me please! -Cvaji

    C 1 Reply Last reply
    0
    • C Cvaji

      hello everybody, Is there any way to get the notification of changes in taskbar. E.g: Any new window started to display in taskbar? Any existing window closed in taskbar? Any windows in taskbar is flashing in taskbar? I need to get such notifications. Help me please! -Cvaji

      C Offline
      C Offline
      Code o mat
      wrote on last edited by
      #2

      I personally don't know any specific way to do that, but if no such turns up you could try hooking into explorer.exe and find and subclass the tray somehow, using spy++ it seems that the taskbar is actually a toolbar, so you should be able to "capture" messages sent to it when new buttons are added or buttons are removed. Another aproach would be to install a global message hook and filter out messages targeted at the taskbar and do what you need with them (relay the events to your application or so...). I hope if nothing better appears then this can give you a starting point to do it...good luck.

      > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

      C 1 Reply Last reply
      0
      • C Code o mat

        I personally don't know any specific way to do that, but if no such turns up you could try hooking into explorer.exe and find and subclass the tray somehow, using spy++ it seems that the taskbar is actually a toolbar, so you should be able to "capture" messages sent to it when new buttons are added or buttons are removed. Another aproach would be to install a global message hook and filter out messages targeted at the taskbar and do what you need with them (relay the events to your application or so...). I hope if nothing better appears then this can give you a starting point to do it...good luck.

        > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

        C Offline
        C Offline
        Cvaji
        wrote on last edited by
        #3

        I want to capture messages (WM_PAINT) to task bar in my application. Please provide any help.

        C 1 Reply Last reply
        0
        • C Cvaji

          I want to capture messages (WM_PAINT) to task bar in my application. Please provide any help.

          C Offline
          C Offline
          Code o mat
          wrote on last edited by
          #4

          Give a bit more details about what exactly you are trying to do, please.

          > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

          C 1 Reply Last reply
          0
          • C Code o mat

            Give a bit more details about what exactly you are trying to do, please.

            > The problem with computers is that they do what you tell them to do and not what you want them to do. < > Sometimes you just have to hate coding to do it well. <

            C Offline
            C Offline
            Cvaji
            wrote on last edited by
            #5

            hai thanks for the reply. Actually I want to filter WM_PAINT message of Taskbar as you mentioned in your first reply. When WM_PAINT message is executed in taksbar, I want to get that message in my application. May be subclassing may help to do it. Let me check that. -Cvaji

            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