With Dialog System I have the possibility to continue the program if the operator used the event WINDOW-CLOSED in order to execute some closing procedures before the program stops.
What can I do when I use a Text Window (Character based) to do the same? If the operator clicks on the X the program stops immediately what I do not want. And when I remove the Sys-Menu with the WINAPI WS-SYSMENU the operator has not the possibility to change the window, minimize it, etc.,
I am looking for a simple possibility just to activate a flag if he uses X and with
IF WINDOWCLOSED GO TO CLOSING-PROCEDURE. Continue my program.
Thanks for any help
Rolf
#WINDOWCLOSED



