Hello,
The code you was given is working in Palm's old version.
But it is not working in 3.5 and later.
finally i solve it using,
Boolean HwrBacklight(Boolean set, Boolean newState)
SYS_TRAP(sysTrapHwrBacklightV33);
if (! HwrBacklight(false, false))// return false then light is off
{
EvtEnqueueKey(vchrBacklight, 0, commandKeyMask);
}
it is working in new and old version too.
thank you for your help with providing code.
bye,
balachandar.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/