Link to home
Start Free TrialLog in
Avatar of submissiontechnology
submissiontechnology

asked on

Keep System Tray Icon Active

My VB app places an icon in the system tray with a context menu. In Windows XP if the app remains inactive for a little while the icon becomes hidden and user has to click the "show hidden icons" arrow to see it. Is there a way I can make the icon always stay in place in the system tray like Windows Live Messenger does?
Avatar of orphanc
orphanc
Flag of United Kingdom of Great Britain and Northern Ireland image

Right click the taskbar, then select "Properties"

Under the Taskbar tab, click the box "Customize", it will show you a list of apps, which tend to show "hide when inactive" to the right of them. Select your VB app, and choose "show always". Does this help?

Avatar of submissiontechnology
submissiontechnology

ASKER

I'd rather add some code to my app to do that rather than asking users to do that setting manually.
ASKER CERTIFIED SOLUTION
Avatar of Jaime Olivares
Jaime Olivares
Flag of Peru image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks I've added a timer to reset the icon will see on Monday if it did the trick.
Avatar of Wesley Miller
You could also just have it execute systray.exe to refresh the takbar......
Systray.exe is a tool for system taskbar notifications. The taskbar provides a location for programs and hardware devices to display icons. For example, if your computer supports advanced power management (APM), a Battery Meter icon may be displayed on the taskbar.
Thank you jaime_olivares, your suggestion worked perfectly.