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
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
NIL vs. Assign: when to u...
by
AlexTP
[
Today
at 04:08:37 pm]
Forum sloooow again...
by
Thaddy
[
Today
at 04:03:23 pm]
I am interested in learni...
by
krolikbest
[
Today
at 03:45:54 pm]
Lazarus IDE Start Up Issu...
by
Aruna
[
Today
at 03:40:39 pm]
Very Slow Online Package ...
by
incendio
[
Today
at 03:38:42 pm]
Using Bresenham's line al...
by
TBMan
[
Today
at 03:37:47 pm]
Weird error: component no...
by
jamie
[
Today
at 02:38:58 pm]
Mint Cinnamon: Cannot sho...
by
Fred vS
[
Today
at 01:32:08 pm]
Online Package Manager
by
wp
[
Today
at 12:51:36 pm]
Explaining Generics and S...
by
Thaddy
[
Today
at 11:52:36 am]
Rotating a simple bitmap ...
by
marcov
[
Today
at 11:50:07 am]
Lazarus on Mint - Palette...
by
dbannon
[
Today
at 08:32:53 am]
AVRPascal – free code edi...
by
ackarwow
[
Today
at 07:55:51 am]
Crash in app
by
biologic
[
Today
at 04:11:10 am]
fpsSpreadsheet. Unable t...
by
dgrhoads
[
Today
at 03:11:52 am]
IDE tabs and spaces, auto...
by
n7800
[
Today
at 02:42:52 am]
[SOLVED] What is the name...
by
n7800
[
Today
at 01:52:19 am]
filename from Uri
by
biologic
[
Today
at 01:45:44 am]
Where are the sources for...
by
flowCRANE
[
Today
at 12:38:54 am]
Reading text out loud?
by
jamie
[
Today
at 12:02:05 am]
Speech from textbox
by
jamie
[March 22, 2025, 11:47:40 pm]
Подписи кнопок панели инс...
by
Miralok
[March 22, 2025, 11:33:50 pm]
How to delete from app il...
by
Boleeman
[March 22, 2025, 10:54:59 pm]
Can't put Lazarus in dock
by
VTwin
[March 22, 2025, 08:33:23 pm]
TrayIcon doesn't work usi...
by
CM630
[March 22, 2025, 08:31:45 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Power state changes (Read 6565 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