Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Operating Systems
»
Windows CE
»
Power state changes
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
[revisited] triple click
by
etrusco
[
Today
at 06:24:22 am]
Pipewire API
by
backprop
[
Today
at 05:44:44 am]
Any way to "embed" Window...
by
egsuh
[
Today
at 04:31:44 am]
class not found
by
SA.Blackmon
[
Today
at 02:02:29 am]
Extended Module Player
by
Gigatron
[March 11, 2026, 11:33:54 pm]
A collection of daily *NI...
by
Roland57
[March 11, 2026, 06:40:37 pm]
[ANN] PasBuild 1.6.0 rele...
by
cdbc
[March 11, 2026, 05:07:14 pm]
ShortStrings vs long stri...
by
marcov
[March 11, 2026, 03:30:18 pm]
88 year D. Knuth changes ...
by
Curt Carpenter
[March 11, 2026, 03:08:55 pm]
[ANN] PasBuild 1.5.0 rele...
by
Graeme
[March 11, 2026, 02:30:32 pm]
CADSys4 3D.
by
zamtmn
[March 11, 2026, 02:13:31 pm]
Synchronizing Lazarus pro...
by
marcov
[March 11, 2026, 01:09:21 pm]
Need help with project ma...
by
dseligo
[March 11, 2026, 12:12:04 pm]
Debian removes FPC/Lazaru...
by
marcov
[March 11, 2026, 11:58:36 am]
Qt6/Wayland clipboard: pa...
by
zeljko
[March 11, 2026, 11:53:24 am]
Questions about TFuncSeri...
by
hedgehog
[March 11, 2026, 09:50:46 am]
macOS 14+ Install Instruc...
by
CM630
[March 11, 2026, 07:56:45 am]
Update a table with an Au...
by
CraigC
[March 10, 2026, 10:54:23 pm]
TSplitter color property ...
by
backprop
[March 10, 2026, 08:43:28 pm]
Z80 ZX Spectrum and Syste...
by
Cascade
[March 10, 2026, 08:22:14 pm]
could Ardour's YTK be use...
by
robert rozee
[March 10, 2026, 03:18:36 pm]
Hello! Anything new?
by
JuhaManninen
[March 10, 2026, 11:22:16 am]
C/C++ code to Object Pasc...
by
domasz
[March 10, 2026, 10:44:20 am]
[Solved] Saving a workboo...
by
Kaljakoira
[March 10, 2026, 09:09:59 am]
Good GPU accelerated math...
by
myisjwj
[March 10, 2026, 03:17:06 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Power state changes (Read 6730 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