Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stopping a process
Message
De
04/08/2010 08:25:10
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01029879
Message ID:
01475122
Vues:
40
>>>>>The question is:
>>>>>can I determine if I (the user) clicked on this x or it was send from the outside?
>>>>
>>>>Simple : try with
>>>>
>>>>#define WM_QUIT                         0x0012
>>>>
>>>
>>>Do you know if the behavior of it must be different than WM_CLOSE? I got the exact same prompt as in case of WM_CLOSE and the program waits for the input. Is it an indication of the problem?
>>
>>What is ReleaseType - when I tested in the on shutdown it was 0 and not 1
>
>I actually removed the check for ReleaseType - had some discussion yesterday with the boss. But may be you're right and I need to put it back there. It still will have a question, but different - one of the forms I change asks a question to save changes (in Destroy, I think).


>I actually removed the check for ReleaseType
Well - if you don't test ReleaseType ...

>one of the forms I change asks a question to save changes (in Destroy, I think).
Probably queryUnload()
Gregory
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform