Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Windows CE
»
Power state changes
Free Pascal
Website
Downloads
Wiki
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Bugtracker
IRC channel
Developer Blog
Follow us on Twitter
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
(preview only)
Search
Advanced search
Recent
What is faster string con...
by
lainz
[
Today
at 01:24:30 am]
Insane Forum Registration...
by
Martin_fr
[
Today
at 01:15:49 am]
Tests results of several ...
by
lainz
[
Today
at 01:00:31 am]
A new design for a JSON P...
by
lainz
[
Today
at 12:59:13 am]
For Loops and Registers
by
jamie
[
Today
at 12:55:45 am]
What is good Unicode font...
by
Borneq
[
Today
at 12:26:05 am]
[SOLVED] Handling strings...
by
maurobio
[December 09, 2019, 11:46:47 pm]
Compiler case optimizatio...
by
440bx
[December 09, 2019, 11:32:52 pm]
Bug in Font.Color in Wind...
by
JuhaManninen
[December 09, 2019, 11:03:09 pm]
[SOLVED] How to avoid dup...
by
Lamb3234
[December 09, 2019, 10:35:59 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Power state changes (Read 4283 times)
sandeep_c24
Full Member
Posts: 114
Power state changes
«
on:
April 08, 2009, 05:04:55 am »
I want to close my application when PDA is powered off or it enters a suspended state. How do I do it?
Sandeep
Logged
JoniDS
New Member
Posts: 11
Re: Power state changes
«
Reply #1 on:
April 08, 2009, 02:07:18 pm »
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.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Windows CE
»
Power state changes