Hi,

I need to know whether the Palm was turned off and on again while a
program is running.

Therefore I wait until the 'key down event' occurs.

if (event->eType == keyDownEvent) {
        if (event->data.keyDown.chr == vchrPowerOff) {
                ...
        }
}

This works fine, but if the user is in a palm specific dialog (e.g.
the graffiti reference or the keyboard) which can be called within a
program it doesn't work anymore.

My idea was to change the 'EventHandler' of these forms, but I couldn't
figure out how to change it.

Any ideas how this problem could be solved.

MfG Steffen
-- 
Zu sagen 'Hier herrscht Freiheit' ist immer ein Irrtum oder auch eine
L�ge -- Freiheit herrscht nicht (Erich Fried)

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

Reply via email to