G
Guest
Hi I have an application developed with visual studio 2005 which runs
minimized all the time. I needed a notify icon to show up any time app is
running.
So I have used ‘Shell_NotifyIcon’ implementation and its working in basic
terms.
Right now I am able to display the icon at the system tray (notification
area), but I am not able to change the icon using ‘Shell_NotifyIcon’
function. What is actually happening is, the new icon I am trying to change
to shows up on the tray but momentarily. If I launch any other application
and go back to the today screen my icon is disappears. Although the
placeholder for the icon still active (I can still launch application by
clicking the empty placeholder, just the icon not there!)
What I found out so far is, the icon stays on the tray only if the icon is
loaded from the application’s icon ‘LoadIcon(GetModuleHandle(Nothing),
"#32512")’
For some reason the managed icons not working??
Any idea, suggestions
Thanks
minimized all the time. I needed a notify icon to show up any time app is
running.
So I have used ‘Shell_NotifyIcon’ implementation and its working in basic
terms.
Right now I am able to display the icon at the system tray (notification
area), but I am not able to change the icon using ‘Shell_NotifyIcon’
function. What is actually happening is, the new icon I am trying to change
to shows up on the tray but momentarily. If I launch any other application
and go back to the today screen my icon is disappears. Although the
placeholder for the icon still active (I can still launch application by
clicking the empty placeholder, just the icon not there!)
What I found out so far is, the icon stays on the tray only if the icon is
loaded from the application’s icon ‘LoadIcon(GetModuleHandle(Nothing),
"#32512")’
For some reason the managed icons not working??
Any idea, suggestions
Thanks