Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
API function for closing other applications
Message
From
04/05/2000 05:19:43
Walter Meester
HoogkarspelNetherlands
 
 
To
04/05/2000 04:52:10
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Miscellaneous
Thread ID:
00365986
Message ID:
00365991
Views:
24
Clarissa,

I'm not sure this will help in your case, but you might try the following:

SET LIBRARY TO FOXTOOLS

x=regfn("FindWindow","CC","I")
z=callfn(x,0, cWindowTitle)
y=regfn("PostMessage","IIIL","I")
=callfn(Y,z,274,61536,0)

If the application has a window with a unique caption, you can find that window by its caption (cWindowsTitle variable) and send a message to that window that it has to close.

HTH

Walter,
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform