all groups > dotnet compact framework > april 2008 >
You're in the

dotnet compact framework

group:

Possible to change color of Windows Mobile Theme?



Possible to change color of Windows Mobile Theme? juvi
4/23/2008 1:54:01 AM
dotnet compact framework: Hello,

Is it possible to change the color of the current windows mobile theme used?
I would like to do this with .net cf but not sure if this is possible.

Saw already applications in .net cf that can change the color for example of
a WM6 device to red, green, blue or what color you want, but I do not know
how to do this.

thank you for any help.
Re: Possible to change color of Windows Mobile Theme? Paul G. Tobey [eMVP]
4/23/2008 8:30:24 AM
Do you know how to do it manually via the Control Panel or something? If
so, chances are it's a registry setting or two-dozen. If so, you can figure
out what setting(s) it is by exporting the registry from the device using
Remote Registry Editor, then making the change manually, and exporting the
registry again using Remote Registry Editor, and comparing the before and
after configurations using a differencing program on your PC.

Paul T.

[quoted text, click to view]

RE: Possible to change color of Windows Mobile Theme? Simon Hart [MVP]
4/23/2008 8:36:05 AM
See if this helps:
http://groups.google.com/group/microsoft.public.pocketpc.developer/browse_thread/thread/8b85d591e0b37cd/891cc727ca9f53c6
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


[quoted text, click to view]
Re: Possible to change color of Windows Mobile Theme? Cocotteseb
4/23/2008 9:47:42 AM
On WM5/6 devices, the color mainly depends on the registry key
"BaseHue", which is located in HKLM\Software\Microsoft\Color.
On WM2003 devices, it depends on several keys.

Hope that helps,
Cocotteseb

PS: To use this "theme color" in you programs just use:
Re: Possible to change color of Windows Mobile Theme? juvi
4/24/2008 11:36:02 PM
hello...thanks for your reply...this is exactly what I am looking for, but
which values are allowed for "BaseHue"? After changing this value to another
value does the color refresh automatically after changement or is there
something to refresh to change??

thx

[quoted text, click to view]
Re: Possible to change color of Windows Mobile Theme? Cocotteseb
4/25/2008 2:28:55 AM
[quoted text, click to view]
Hi,

I would advise you to look here for the different values :
http://wiki.xda-developers.com/index.php?pagename=WindowsMobile5Colors
If you modifiy it on the device with a registry editor, it changes
immediately (just let the time to the system to reflect the changes) ,
but programmatically it works better on the emulator than on a device
(understand that sometimes it works sometines it doesn't). There is a
"problem" with the flush() instruction that I do not understand why
sometimes the changes aren't reflected on the registry.
Maybe someone could give some other "views" on this thing.

AddThis Social Bookmark Button