System Tray
Dear friend
is it posible to check weather our own application system tray icon is loaded or not in to the tray? coz some time i see when xp starts, my app is running but the icon is not shown/loaded in to the tray.
May be i have called the system tray icon code after some critical startup routins (os check, windows path, app is already running or not, other few system information retrival) are completed. can this be the cause of not showing the icon at windows startup?
# 2 Re: System Tray
yah dglienna, you mean the task bar option? yah that have put to never hide. my system tray icons are always shown.
i have around 13 startup icons in the tray. my program some time shows the icon and some time not show the icon while xp loading. Normally in which stage the icon should be call inthe code when program is loading?
# 3 Re: System Tray
Looking at the symtoms i'd say that the Tray icon code is not allways been executed..
Check your startup code .. You posibly have something in there that causes an early exit from the sub.. or even the 'on error' statments might be causing some interference..
There is no set position in code to load up a tray icon.. It can be the first, second, Second to last or even the last in your startup code...
I'd sujest to move it to the first to load and see if the problem goes away ... Then check either the Tray icon load code, or other code depending on the results..
Gremmy...