Setting the Display Light

  • Thread starter Thread starter Felipe T.
  • Start date Start date
F

Felipe T.

Anyone knows a way to programatically set the
display light of the PocketPc?
(High Bright/ Low Bright/ Energy Saving/ etc...)

Thanks,
Felipe
 
Hi,
take a look at the 'current user' registry settings of 'control
panel\backlight'

You should be able to change those settings to do what you need, e.g.
brightness, defaultbrightness etc.
Dunno if they work without a reset though.

HTH

Pete
 
In my PocketPc Control Panel there is an utility called BackLight.
From there i can immediatly change the BackLight Brightness.
I like to set the Brightness from my application. I have some uses for this,
one of them is when the battery is running low i can save some battery
minutes by reducing brightness.

Im wondering if there is any API that can do this Job. (I know i have seen
this somewhere...)Or any form of implementation to notify such events. Any
help wold b welcome.

By the way, Pete, how can i see the registry of PocketPc. Cause i now there
is no regedit.exe in there.

Thx
 
What device *exactly* are we talking about? Maybe the Control Panel you're
talking about is specific to that particular device. What version of
Windows CE does it run (3.0 or 4.2)?

Run Remote Registry Editor with eMbedded Visual C++ (it's free).

Paul T.
 
Device Specs:

PocketPc iPAQ h1930,
Op. Sys. Windows CE 4.2
Processor: SamsungS3C2410
Made By: HP/Compaq


Paul G. Tobey said:
What device *exactly* are we talking about? Maybe the Control Panel you're
talking about is specific to that particular device. What version of
Windows CE does it run (3.0 or 4.2)?

Run Remote Registry Editor with eMbedded Visual C++ (it's free).

Paul T.

Felipe T. said:
In my PocketPc Control Panel there is an utility called BackLight.
From there i can immediatly change the BackLight Brightness.
I like to set the Brightness from my application. I have some uses for this,
one of them is when the battery is running low i can save some battery
minutes by reducing brightness.

Im wondering if there is any API that can do this Job. (I know i have seen
this somewhere...)Or any form of implementation to notify such events. Any
help wold b welcome.

By the way, Pete, how can i see the registry of PocketPc. Cause i now there
is no regedit.exe in there.

Thx

"Pete Vickers [eMVP]" <pete at gui - innovations dot com> wrote in message
Hi,
take a look at the 'current user' registry settings of 'control
panel\backlight'

You should be able to change those settings to do what you need, e.g.
brightness, defaultbrightness etc.
Dunno if they work without a reset though.

HTH

Pete


--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com


Anyone knows a way to programatically set the
display light of the PocketPc?
(High Bright/ Low Bright/ Energy Saving/ etc...)

Thanks,
Felipe
 
On Ipaq set the following registry values:
HKCU\ControlPanel\Backlight\ACBrightNess
HKCU\ControlPanel\Backlight\BrightNess

Then open and pulse the following event:
SDKBackLightChangeEvent
 
There is no standard API for controlling backlight power, so there's really
no universal way to do it. Adjusting the registry and sending a system
modification message to simulate the CPL's actions is probably the best
you're going to get.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net
 
Chris,

Out of curiosity how do you do the latter (sending the modification message)
in .NET?

Brian

Chris Tacke said:
There is no standard API for controlling backlight power, so there's really
no universal way to do it. Adjusting the registry and sending a system
modification message to simulate the CPL's actions is probably the best
you're going to get.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


Felipe T. said:
In my PocketPc Control Panel there is an utility called BackLight.
From there i can immediatly change the BackLight Brightness.
I like to set the Brightness from my application. I have some uses for this,
one of them is when the battery is running low i can save some battery
minutes by reducing brightness.

Im wondering if there is any API that can do this Job. (I know i have seen
this somewhere...)Or any form of implementation to notify such events. Any
help wold b welcome.

By the way, Pete, how can i see the registry of PocketPc. Cause i now there
is no regedit.exe in there.

Thx

"Pete Vickers [eMVP]" <pete at gui - innovations dot com> wrote in message
Hi,
take a look at the 'current user' registry settings of 'control
panel\backlight'

You should be able to change those settings to do what you need, e.g.
brightness, defaultbrightness etc.
Dunno if they work without a reset though.

HTH

Pete


--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com


Anyone knows a way to programatically set the
display light of the PocketPc?
(High Bright/ Low Bright/ Energy Saving/ etc...)

Thanks,
Felipe
 
Ok. I can change the registry, but i also dont know whats the message
that represents a system modification.
I send it using the SendMessage API?


Chris Tacke said:
There is no standard API for controlling backlight power, so there's really
no universal way to do it. Adjusting the registry and sending a system
modification message to simulate the CPL's actions is probably the best
you're going to get.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


Felipe T. said:
In my PocketPc Control Panel there is an utility called BackLight.
From there i can immediatly change the BackLight Brightness.
I like to set the Brightness from my application. I have some uses for this,
one of them is when the battery is running low i can save some battery
minutes by reducing brightness.

Im wondering if there is any API that can do this Job. (I know i have seen
this somewhere...)Or any form of implementation to notify such events. Any
help wold b welcome.

By the way, Pete, how can i see the registry of PocketPc. Cause i now there
is no regedit.exe in there.

Thx

"Pete Vickers [eMVP]" <pete at gui - innovations dot com> wrote in message
Hi,
take a look at the 'current user' registry settings of 'control
panel\backlight'

You should be able to change those settings to do what you need, e.g.
brightness, defaultbrightness etc.
Dunno if they work without a reset though.

HTH

Pete


--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com


Anyone knows a way to programatically set the
display light of the PocketPc?
(High Bright/ Low Bright/ Energy Saving/ etc...)

Thanks,
Felipe
 
See Alex's post above. Simply create a named event with the text
"SDKBackLightChangeEvent" and pulse it.

-Chris

Felipe T. said:
Ok. I can change the registry, but i also dont know whats the message
that represents a system modification.
I send it using the SendMessage API?


Chris Tacke said:
There is no standard API for controlling backlight power, so there's really
no universal way to do it. Adjusting the registry and sending a system
modification message to simulate the CPL's actions is probably the best
you're going to get.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


Felipe T. said:
In my PocketPc Control Panel there is an utility called BackLight.
From there i can immediatly change the BackLight Brightness.
I like to set the Brightness from my application. I have some uses for this,
one of them is when the battery is running low i can save some battery
minutes by reducing brightness.

Im wondering if there is any API that can do this Job. (I know i have seen
this somewhere...)Or any form of implementation to notify such events. Any
help wold b welcome.

By the way, Pete, how can i see the registry of PocketPc. Cause i now there
is no regedit.exe in there.

Thx

"Pete Vickers [eMVP]" <pete at gui - innovations dot com> wrote in message
Hi,
take a look at the 'current user' registry settings of 'control
panel\backlight'

You should be able to change those settings to do what you need, e.g.
brightness, defaultbrightness etc.
Dunno if they work without a reset though.

HTH

Pete


--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com


Anyone knows a way to programatically set the
display light of the PocketPc?
(High Bright/ Low Bright/ Energy Saving/ etc...)

Thanks,
Felipe
 
See my reply below or Alex's above.

-Chris


Brian said:
Chris,

Out of curiosity how do you do the latter (sending the modification message)
in .NET?

Brian

Chris Tacke said:
There is no standard API for controlling backlight power, so there's really
no universal way to do it. Adjusting the registry and sending a system
modification message to simulate the CPL's actions is probably the best
you're going to get.

--
Chris Tacke, eMVP
Co-Founder and Advisory Board Member
www.OpenNETCF.org
---
Windows CE Product Manager
Applied Data Systems
www.applieddata.net


Felipe T. said:
In my PocketPc Control Panel there is an utility called BackLight.
From there i can immediatly change the BackLight Brightness.
I like to set the Brightness from my application. I have some uses for this,
one of them is when the battery is running low i can save some battery
minutes by reducing brightness.

Im wondering if there is any API that can do this Job. (I know i have seen
this somewhere...)Or any form of implementation to notify such events. Any
help wold b welcome.

By the way, Pete, how can i see the registry of PocketPc. Cause i now there
is no regedit.exe in there.

Thx

"Pete Vickers [eMVP]" <pete at gui - innovations dot com> wrote in message
Hi,
take a look at the 'current user' registry settings of 'control
panel\backlight'

You should be able to change those settings to do what you need, e.g.
brightness, defaultbrightness etc.
Dunno if they work without a reset though.

HTH

Pete


--
Pete Vickers
Microsoft Windows Embedded MVP
HP Business Partner
http://www.gui-innovations.com


Anyone knows a way to programatically set the
display light of the PocketPc?
(High Bright/ Low Bright/ Energy Saving/ etc...)

Thanks,
Felipe
 
Back
Top