Pocket PC Thoughts - Daily News, Views, Rants and Raves

Check out the hottest Windows Mobile devices at our Expansys store!





Go Back   Thoughts Media Forums > POCKET PC THOUGHTS > HARDWARE DISCUSSION (open to all) > HP iPAQ Pocket PCs

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 05-09-2005, 10:31 AM
Pupil
Join Date: Dec 2004
Posts: 11
Default How to set the time to turn OFF the Backlight of the PDA

Hi All,

I want to programmatically set the time uptill which if no action is performed on the PDA the backlight of the PDA should turn OFF.

I am using .NET to develop the application.

I am not able to find any way for doing the same.

Please help me out of this problem.

Thanks In Advance
Prashant N.Rana
 
Reply With Quote
  #2 (permalink)  
Old 05-09-2005, 10:39 AM
News Editor
Darius Wey's Avatar
Join Date: Aug 2006
Posts: 12,675
Default Re: How to set the time to turn OFF the Backlight of the PDA

Quote:
Originally Posted by Prashant Rana
I want to programmatically set the time uptill which if no action is performed on the PDA the backlight of the PDA should turn OFF.
Hmm, what platform are you targeting?

Almost all of the current devices perform this function already. If you tap on Start > Settings > Backlight (in the System tab), there's an option there for turning off the backlight if the device has not been used for a certain amount of time (ranging from ten seconds to five minutes).

Or are you looking for a way to set it outside of the presets?
__________________
Want the latest news, views, rants and raves? Visit our portal. Wish to contact me? Send me a private message or e-mail.
 
Reply With Quote
  #3 (permalink)  
Old 05-09-2005, 10:49 AM
Pupil
Join Date: Dec 2004
Posts: 11

Thanks a lot Darius for the immediate response.

Well, the platform that I am targeting is Windows CE. The Pocket PC is HP iPAQ 4700. I am using C#.NET.

Yes, I am trying to set it outside of the presets, that too programmatically.

Thanks a lot in advance.
Prashant N.Rana
 
Reply With Quote
  #4 (permalink)  
Old 05-09-2005, 11:07 AM
News Editor
Darius Wey's Avatar
Join Date: Aug 2006
Posts: 12,675

Quote:
Originally Posted by Prashant Rana
Yes, I am trying to set it outside of the presets, that too programmatically.
This isn't something you need to program. It's a registry setting.

Navigate to HKCU\ControlPanel\Backlight and there you will see two values: ACTimeout and BatteryTimeout. Those two control the backlight timeout value when the Pocket PC is running off AC and the battery respectively.

Simply change the decimal value to the number of your choice. It works off seconds, so for example, if you want your battery timeout to be 15 seconds, set the decimal value of BatteryTimeout to 15.

Now if you wanted to create a mini-program to do this without having to delve into the registry, then that's another idea. You'd only need to create a couple of fields and have it linked to these particular values in the registry.
__________________
Want the latest news, views, rants and raves? Visit our portal. Wish to contact me? Send me a private message or e-mail.
 
Reply With Quote
  #5 (permalink)  
Old 05-09-2005, 11:28 AM
Pupil
Join Date: Dec 2004
Posts: 11

Thanks Darius,

It would be of great help if you could tell me the method in which I can access the registry settings of the Pocket PC.

And also the method by which I can edit those settings programmatically using C#.Net.

Thanks a lot in advance.
Prashant N.Rana
 
Reply With Quote
  #6 (permalink)  
Old 05-09-2005, 11:35 AM
News Editor
Darius Wey's Avatar
Join Date: Aug 2006
Posts: 12,675

Quote:
Originally Posted by Prashant Rana
Thanks Darius, it would be of great help if you could tell me the method in which I can access the registry settings of the Pocket PC.
Download a copy of PHM Registry Editor from here. Once you've installed it, you can navigate to HKCU\ControlPanel\Backlight (as I mentioned earlier) and from there, you'll be able to change those values.

Quote:
Originally Posted by Prashant Rana
And also the method by which I can edit those settings programmatically using C#.Net.
Unfortunately, I haven't even had the time to pick up C# so I'm afraid I can't help you out with that one.
__________________
Want the latest news, views, rants and raves? Visit our portal. Wish to contact me? Send me a private message or e-mail.
 
Reply With Quote
  #7 (permalink)  
Old 05-09-2005, 12:26 PM
Mystic
Join Date: Aug 2006
Posts: 1,753

Hey, thats a very useful trick. Does this mean it can be set outside of the rigid options available e.g. 45 seconds instead of one minute?

Surur
 
Reply With Quote
  #8 (permalink)  
Old 05-09-2005, 12:34 PM
Pupil
Join Date: Dec 2004
Posts: 11

Thanks Darius,

I downloaded the PHM Registry Editor and installed on the Pocket PC, but I was not able to change the values that you had mentioned.

In the Registry Editor I navigated through:

HKEY_LOCAL_MACHINE > CONTROLPANEL > BACKLIGHT

But it only shows one parameter named "Redirect" the value of which is "\Windows\Backlight.exe".

I am using Pocket PC 2003 iPaQ 4700.

Please let me know how to set the time.

Thanks a lot in advance.
Prashant N.Rana
 
Reply With Quote
  #9 (permalink)  
Old 05-09-2005, 12:41 PM
News Editor
Darius Wey's Avatar
Join Date: Aug 2006
Posts: 12,675

Quote:
Originally Posted by Surur
Hey, thats a very useful trick. Does this mean it can be set outside of the rigid options available e.g. 45 seconds instead of one minute?
Sure can! You'll need to exit out of the registry editor before you see the effects.
__________________
Want the latest news, views, rants and raves? Visit our portal. Wish to contact me? Send me a private message or e-mail.
 
Reply With Quote
  #10 (permalink)  
Old 05-09-2005, 12:42 PM
News Editor
Darius Wey's Avatar
Join Date: Aug 2006
Posts: 12,675

Quote:
Originally Posted by Prashant Rana
In the Registry Editor I navigated through:

HKEY_LOCAL_MACHINE > CONTROLPANEL > BACKLIGHT
No, you want to navigate to HKEY_CURRENT_USER\ControlPanel\Backlight. You'll see the values in there.
__________________
Want the latest news, views, rants and raves? Visit our portal. Wish to contact me? Send me a private message or e-mail.
 
Reply With Quote
Reply


Thread Tools
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 07:52 AM.



Search Engine Friendly URLs by vBSEO 3.2.0 RC7