javinovations
Programmer
Can anyone tell me how do I disable the "X" button from a console application or the console window? If not, then, when the application is running, and someone clicks the "X" button, a window pops with the option to either "Cancel" or "End Now". How do I catch hold of the window?
I want to avoid the user on clicking the "End Now" button when the app is still running.
Thanks
I want to avoid the user on clicking the "End Now" button when the app is still running.
Thanks