` Printed Icetips Article

Icetips Article



Par2: Shutting down a running EXE from another EXE -- Window Title unknown
1998-08-04 -- John Arisse
 
If you do not know the title you could use the following to get the
window handle ( you have to do this immidiately after you started
the other .exe in your application ) :

WindowHandle = GetForegroundWindow()

I uses this one without problems.



Printed May 8, 2024, 1:10 am
This article has been viewed/printed 35110 times.