Hello Mr. Rudolf Polzer.
With the Help of your code, i can able to give bright light
programmatically,thank you.
HwrDisplayAttributes(false, 0x12, &old); it is not supported.
so that i removed that line only, and call the function with
Light(true,false);
static Boolean Light(Boolean switch, Boolean new)
{
Boolean old;
//HwrDisplayAttributes(false, 0x12, &old);
if (switch && (old != new))
EvtEnqueueKey(vchrBacklight, 0, commandKeyMask);
return old;
}
It is working fine, I am very thank to you,
bye,
balachandar.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/