PDA

View Full Version : backlight brightness change MIO


karpikpl
21st April 2009, 12:53 PM
hi,
I've got a huge problem with brightness,

this is my code:

RegistryKey key = Registry.CurrentUser.OpenSubKey("ControlPanel").OpenSubKey("BackLight", true);
int value = (int)key.GetValue("Brightness");
key.SetValue("Brightness", (value + 1) % 10, RegistryValueKind.DWord);
key.Close();
DoAutoResetEvent("BackLightChangeEvent");


it doesn't work,
I know that I change proper registry values (they change when I use windows backlight settings)
How to make system to re-read registry values?

I've tried rising "BackLightChangeEvent", "BackLightNotifyEvent" and "SDKBackLightChangeEvent" with no results...

I'm using MIO P360 and MIO P560

please help

ps. I've also tried contacting MIO support center - 1 week - no answer...