TIP: Click on subject to list as thread! ANSI
echo: delphi
to: GARY WEINFURTHER
from: MARTIN MAAT
date: 1997-01-17 20:03:00
subject: Addressing other application windows

Hallo Gary
 GW> The well-behaved way is to send a WM_QUIT message to the
 GW> application with the PostAppMessage API function.  If you don't
 GW> know the application's main window handle, there are several ways
 GW> to find it. One is with the FindWindow API function.
There's even a FindWindowEx, I just spotted in Win32 API Help. I'd like to 
hear about any usefull tricks in this field. For instance, how to 
discriminate between several instances of a particular application? How to 
find the one that was started first (if at all possible) ?
A colleague at work was messing with DDE sessions and some problems of this 
nature arouse.
Groeten, Martin.
--- FMail/386 1.02
---------------
* Origin: -=[ E-mail: m_maat@knoware.nl .......... ]=- (2:286/420.1)

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