Catch power button event

I'm trying to understand what happens behind the scenes when a user hits the power button on a PocketPC WM 5.0 device. My goal is to capture/prevent the event that causes the device to go into suspend mode, prompt the user to confirm their action, then continue accordingly. I'm an ISV trying to guard against an accidental hit. Any tips



Answer this question

Catch power button event