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