Possible to change color of Windows Mobile Theme?

J

juvi

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.
juvi
 
P

Paul G. Tobey [eMVP]

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.
 
C

Cocotteseb

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:
SystemColors.Highlight();
 
J

juvi

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
 
C

Cocotteseb

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
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.

Thx
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top