
Tray tip not dynamic, how to refresh?
a possible method is to move the mouse away and back after every update
using the get and set cursor api calls...of course, this should only be
done while the mouse is over the icon in the system tray...another possible
method would be to subclass the mouse and when the counter increases,
cancel the message sent to the icon, this will prevent the tool tip from
showing up (theoretically) and then, it will pop back up the next time the
message is received...
Quote:
> I'm using the standard code to put my program into the system tray and
> enable a tray tip. I'm changing the tray tip based on a counter and
> therefore the tip changes every second. However when I hold the cursor
> over the tip, it shows the correct value at that instant but the value
> does not change. When I move the cursor away, and then back again, the
> tip reappears with the updated value. Does anyone know of a way to have
> the tip dynamically update itself while it is being viewed. Thanks for
> any help. -Craig
> Sent via Deja.com http://www.deja.com/
> Share what you know. Learn what you don't.