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. Services icon problem

Services icon problem

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

    Hi. I have added my program as service in Windows 2000. When i minimise the program, it is added in the tray-bar. This works great in Windows 2000. Even when i end the 'Explorer.exe' process i handle the "TaskbarCreated" message and add the icon again in the tray bar. This does not work for Windows NT though. When explorer.exe is ended, the icon isn't added again in the tray bar. What could be the reason of this OS-depending problem? I have ran Spy.exe on the program.. when minimised and process 'Explorer.exe' killed and restarted, it does get a 'TaskbarCreated' message from a Windows 2000 computer. I have done the same on a Windows NT computer and it doesn't get the 'TaskbarCreated' message at all !! <\Just edited> Any questions about the problem, don't hesistate to ask them. Thanks for the help. Greetings, Jens

    I 1 Reply Last reply
    0
    • J JensB

      Hi. I have added my program as service in Windows 2000. When i minimise the program, it is added in the tray-bar. This works great in Windows 2000. Even when i end the 'Explorer.exe' process i handle the "TaskbarCreated" message and add the icon again in the tray bar. This does not work for Windows NT though. When explorer.exe is ended, the icon isn't added again in the tray bar. What could be the reason of this OS-depending problem? I have ran Spy.exe on the program.. when minimised and process 'Explorer.exe' killed and restarted, it does get a 'TaskbarCreated' message from a Windows 2000 computer. I have done the same on a Windows NT computer and it doesn't get the 'TaskbarCreated' message at all !! <\Just edited> Any questions about the problem, don't hesistate to ask them. Thanks for the help. Greetings, Jens

      I Offline
      I Offline
      Iain Clarke Warrior Programmer
      wrote on last edited by
      #2

      To quote from MSDN: With Microsoft® Internet Explorer 4.0 and later, the Shell notifies applications that the taskbar has been created... I would bet that your NT machine has IE 3.x installed. Iain.

      A 1 Reply Last reply
      0
      • I Iain Clarke Warrior Programmer

        To quote from MSDN: With Microsoft® Internet Explorer 4.0 and later, the Shell notifies applications that the taskbar has been created... I would bet that your NT machine has IE 3.x installed. Iain.

        A Offline
        A Offline
        Anonymous
        wrote on last edited by
        #3

        Not correct. Internet Explorer 6.0 installed. I have seen that a specific version of the system file 'shell32.dll' is needed (>= version '4.70') and i don't seem to be able to update that file to such version. I have version 4.0 of shell32.dll which in my opinion is a part of the shell and doesn't notify application when taskbar has been created. Greetings, Jens

        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