TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Gregor Jeromen
from: Johan Siegers
date: 1996-10-01 15:18:24
subject: Shutdown

Hi Gregor,

 GJ>  Is there a way to get hold of a shutdown event?
 GJ>  What I would like to do is to log this event, whether it was successful
 GJ> or not or at least log the time of pressing the Shutdown button on
 GJ> Launchpad or in the Desktop object menu.

Make a program that runs detached (so not visable), that does nothing but
wait for a WM_QUIT. Make it write down the time the message arrives.
A shutdown first kills all running programs, so your program too.


Bye, Johan.

--- The-Box Point 0.15+ PC
* Origin: johan{at}bitbike.com - CIS: 100120,2502 (2:283/512.16)
SEEN-BY: 50/99 270/101 620/243 625/100 711/401 409 410 413 430 808 809 934
SEEN-BY: 711/955 712/407 515 624 628 713/888 800/1
@PATH: 283/512 280/801 270/101 712/515 711/808 934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.