TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Paul Beverly
from: Vitus Jensen
date: 1997-01-08 00:06:18
subject: OS/2 Shutdown

Moin Paul,

03.01.97 16:37, you wrote a message to All :

 PB> Does anyone know of a way for a program to capture the fact that
 PB> a SHUTDOWN has been initiated?

 PB> What I would like to do is once a SHUTDOWN has started have a
 PB> program which is running to perform something before the SHUTDOWN
 PB> closes that program.

All I know of is writing a PM program (and I experimented a lot).  This
program creates a window (may be invisible) which PM posts a WM_CLOSE to on
SHUTDOWN.

C-x C-s
    Vitus [Team OS/2 Germany #835]

---
* Origin: Milky Way, Earth, Germany, Isernhagen (2:2474/400.8)
SEEN-BY: 50/99 54/99 270/101 620/243 625/0 160 640/201 711/401 409 410 413
SEEN-BY: 711/430 808 809 934 955 712/311 407 505 506 517 623 624 704 841
SEEN-BY: 713/317 800/1
@PATH: 2474/400 0 24/999 888 396/1 270/101 712/624 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™.