Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Stopping a process
Message
From
04/08/2010 08:25:10
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
Miscellaneous
Thread ID:
01029879
Message ID:
01475122
Views:
39
>>>>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform