I have an MFC application that I do not want to close while running. I turned off the "X" in the upper right corner, but now if I press the ESC or ALT + F4 key, it still closes.
How can I disable this, so it will not be closed if someone pressed these keys? After the program finishes, I want to reuse them.
Thanks
Kampi
source
share