PC Review Forums Newsgroups Microsoft DotNet Microsoft Dot NET Compact Framework Possible to change color of Windows Mobile Theme?

Reply

Possible to change color of Windows Mobile Theme?

 
Thread Tools Rate Thread
Old 23-04-2008, 09:54 AM   #1
juvi
Guest
 
Posts: n/a
Default Possible to change color of Windows Mobile Theme?


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
  Reply With Quote
Old 23-04-2008, 04:30 PM   #2
Paul G. Tobey [eMVP]
Guest
 
Posts: n/a
Default Re: Possible to change color of Windows Mobile Theme?

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.

"juvi" <juvi@discussions.microsoft.com> wrote in message
news55A68B8-BF19-4D0A-B7F2-001F35A843A1@microsoft.com...
> 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



  Reply With Quote
Old 23-04-2008, 04:36 PM   #3
Simon Hart [MVP]
Guest
 
Posts: n/a
Default RE: Possible to change color of Windows Mobile Theme?

See if this helps:
http://groups.google.com/group/micr...91cc727ca9f53c6
--
Simon Hart
Visual Developer - Device Application Development MVP
http://simonrhart.blogspot.com


"juvi" wrote:

> 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

  Reply With Quote
Old 23-04-2008, 05:47 PM   #4
Cocotteseb
Guest
 
Posts: n/a
Default Re: Possible to change color of Windows Mobile Theme?

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();
  Reply With Quote
Old 25-04-2008, 07:36 AM   #5
juvi
Guest
 
Posts: n/a
Default Re: Possible to change color of Windows Mobile Theme?

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

"Cocotteseb" wrote:

> 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();
>

  Reply With Quote
Old 25-04-2008, 10:28 AM   #6
Cocotteseb
Guest
 
Posts: n/a
Default Re: Possible to change color of Windows Mobile Theme?

On 25 avr, 08:36, juvi <j...@discussions.microsoft.com> wrote:
> 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/inde...wsMobile5Colors
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
  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off