Andreas wrote:

> I started to develop some palm apps a few weeks ago. So far,
> everything works fine, but I have one special problem. I would
> like to switch my palm off by using an api call. How can I do
> this? I couldn't find any hint in the Reference, provided with
> the workbench.

I simply enqueur the proper virtual character depending on OS version (before 
or after 3.2):

EvtEnqueueKey( gROMVersion >= 0x32 ? vchrPowerOff : autoOffChr, evtNulKeycode, 
commandKeyMask );


-- 
Luc Le Blanc
-- 
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to