TIP: Click on subject to list as thread! ANSI
echo: delphi
to: HENK KOUWEN
from: GARY WEINFURTHER
date: 1997-01-14 18:03:00
subject: shutting a programm down and close Windo18:03:2801/14/97

Henk Kouwen mentioned this to Gary Weinfurther:
 HK> Sorry, i was not clear enough:
 HK> The program i want to shut down is an external program, NOT a Delphi
 HK> programm! (i wish it was..)
The well-behaved way is to send a WM_QUIT message to the application with the 
PostAppMessage API function.  If you don't know the application's main window 
handle, there are several ways to find it.  One is with the FindWindow API 
function.
                                ...Gary
--- GoldED 2.41
---------------
* Origin: Nobody expects the Flying Circus BBS! (1:2410/905)

SOURCE: echomail via exec-pc

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™.