Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutting down an application
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00135143
Message ID:
00135166
Vues:
10
>>Well, I've done it again and misplaced the information on what API function and constants to use to programatically shut down a running application from another application. It's SendMessage() with certain parameters or something like that ... isn't it? ... George ... you out there? ... George?
>>
>Hidy Bill,
>
>Seems like I just answered this one yesterday.:-) Here goes:
>DECLARE INTEGER SendMessage IN Win32API;
>  INTEGER hWnd, INTEGER uMsg, INTEGER wparm, INTEGER lparm
>#define WM_CLOSE  0x0010
>* lnhWnd is the Window handle
>= SendMessage(lnhWnd, WM_CLOSE, 0, 0)
>hth,

Well ... you probably did. :-) And I'm supposed to have this info around here somewhere ( it's my habit to print every reference to Win32API functions ) but couldn't find it. So, many thanks for answering it anyway. :-) I'd be in real trouble if you all didn't hang around here. :-)

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform