Home   |   Software   |   Practical Jokes   |   Code Corner   |   Workshops


Delphi Tip #1

Programmatically Closing Another Application
 
 
     Only one command is needed to close another application. Simply specify the name of the window caption within the quotation marks.

Code:
PostMessage(FindWindow(Nil, 'window caption'), WM_QUIT, 0, 0);







This page was developed by FoxWare Design & Support.
Hosted by www.Geocities.ws

1