Try that instead: in your AppEventLoop() catch the following if ( event.data.keyDown.chr==vchrHardPower ) { <do something else, e.g. skip the std. event handling or display an alert> }
I've done this in my app and it works. Harry -- For information on using the PalmSource Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/