I need a way so user can exit the program by pressing escape button, so CancelKeyPress event doesn't work here. It is very important that the user can quit at any time they want.
I really have no idea how to do it as I am beginner, so I count on you. Thanks in advance.