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
Latest SVN
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Sqr function
by
marcio2003
[
Today
at 02:43:17 am]
Modern For Loop question
by
Peter H
[
Today
at 02:32:51 am]
LazPaint (alpha-blending,...
by
lainz
[
Today
at 02:17:46 am]
Cocoa - content mirrored ...
by
AL
[
Today
at 12:59:29 am]
Video unit and updating t...
by
lucamar
[
Today
at 12:42:33 am]
working with GPS coordina...
by
wp
[January 27, 2021, 11:27:27 pm]
Compiler Generated Tempor...
by
BeniBela
[January 27, 2021, 10:52:44 pm]
SIGSEGV after calling a D...
by
jamie
[January 27, 2021, 10:47:17 pm]
[LAMW] Using App Bundles ...
by
jmpessoa
[January 27, 2021, 10:33:55 pm]
MOVED: Programming for An...
by
trev
[January 27, 2021, 10:29:52 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Power state changes (Read 4496 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
TinyPortal
© 2005-2018