You are correct about not getting a wm_queryendsession for the end task function. I was speaking in general terms about NT4(sp6). You do however, get the wm_destroy message and that's where I normally check for file or sys settings. I was only saying that Jim's program should function as intended on NT.
I opened my simple text editor and made a change, then clicked task manager to close the program. Up poped the request to save dialog box which is located in the wm_destroy trap. I totally agree with you that there is no fool proof way for Jim to do what he is asking. The user can still void any saving or cleanup functions by merely clicking on the end task button.
Cheers,
Cecil

------------------
[This message has been edited by Cecil Williams (edited February 29, 2000).]
Leave a comment: