>>>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
Gregory