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

Catch power button event
Xianfang
Here is an excellent blog post by Anthony Wong about power events. http://blogs.msdn.com/anthonywong/archive/2005/06/07/426392.aspx
Manav
Tim Day