Changing the desktop background color in Windows CE 4.20

  • Thread starter Thread starter Javier Ros
  • Start date Start date
J

Javier Ros

Hi guys,

I´m trying to change the desktop background color from PC using
OpenNETCF.Desktop.Communication library.
I have seen in this URL http://www.hpcfactor.com/support/cesd/s/0057.asp how
to do it.
This the code used:

CERegistryKey ceRegKey = CERegistry.LocalMachine.OpenSubKey(@"SYSTEM\GWE");
Array SysColor = (Array)ceRegKey.GetValue("SysColor");
SysColor.SetValue((byte)0xFF, 4);
SysColor.SetValue((byte)0xFF, 5);
SysColor.SetValue((byte)0xFF, 6);
SysColor.SetValue((byte)0xFF, 7);
ceRegKey.SetValue("SysColor", SysColor);
ceRegKey.Close();

The changes are registred in the registry, but the background color don´t
change.

Any ideas?

Thanks in advance.
 
Back
Top