Power state changes lazarus / 35-Windows CE ---------------------------------------------------------------------- sandeep_c24 · 2009-04-08 03:04 I want to close my application when PDA is powered off or it enters a suspended state. How do I do it? Sandeep ---------------------------------------------------------------------- JoniDS · 2009-04-08 12:07 I think you can't, because suspend messages are only sent to drivers. You will only receive suspend messages when device is powered again. The message is PBT_TRANSITION.