New: XDA launches forum for app developers. Discuss coding, tools, marketing, and more.
XDA Developers Android and Mobile Development Forum
Forgot your password?
 
Post Reply+
Tip us?
 
JGUI
Old
#1  
JGUI's Avatar
Senior Member - OP
Thanks Meter 1
Posts: 201
Join Date: Jun 2003
Location: Poland, Scotland
Default refresh the icon

How to refresh the speaker icon on the taskbar?

You know: when you change from sound (on) to vibrate or silence (off), this icon changes its image.

I can change volume levels programatically, I can change this three radio boxes programatically too, but in this way the icon does not change.

I tried to send message to HHTaskbar to refresh the window - nothing,
Send message to Desktop, Send broadcast message - nothing.

Any ideas?
 
nilcat
Old
#2  
Junior Member
Thanks Meter 0
Posts: 13
Join Date: Sep 2003
Location: Norway
Default Re: refresh the icon

Quote:
Originally Posted by JGUI
How to refresh the speaker icon on the taskbar?

You know: when you change from sound (on) to vibrate or silence (off), this icon changes its image.

I can change volume levels programatically, I can change this three radio boxes programatically too, but in this way the icon does not change.

I tried to send message to HHTaskbar to refresh the window - nothing,
Send message to Desktop, Send broadcast message - nothing.

Any ideas?
I'd try fiddling with the registry. Dump it to files while the different icons show, and see if you can find the difference. That's how I change the phone volume programatically on WM2003. How are you changing the system-volume (because I can't get the registry fiddeling to do that for me)

Cato