Jeff Loucks wrote:

> Assuming the device has it, I understand it to be...

> // set == false, return the current level, but do not change
> the level.
> // set == true, return the current level and then change to the
> new level.
> // level = 0..255, where 0 is minimum and 255 is maximum.

> UInt8 SysLCDBrightness(Boolean set, UInt8 newBrightnessLevel);


I get strange results on a Tungsten E2. First, the brightness level returned to 
this API when the UI slider is set on the leftmost position is 64, not 0 (but 
the rightmost position does correspond to 255). But my T3 reaches 0. It must 
depend on device.

If I set the slider to high brightness on my E2, calling
SysLCDBrightness( true, 0 ); does dim the screen, although not as dim as with 
the leftmost UI slider setting. But if I set the
slider to lowest brightness, then the same call brings up full brightness (and 
it gets restored when my computations are over)...

Too bad Palm decided not to document this API :(


Luc Le Blanc
-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to