Newsgroups : Borland : borland.public.delphi.rtl.win32 : 2008 May : Checking for Escape key
| Subject: | Checking for Escape key |
| Posted by: | "JJ" (nospam@nospam.com) |
| Date: | Tue, 13 May 2008 10:14:05 |
Hi,
I have a routine that takes a long time (up to 40 seconds). I want to cancel
the routine if the user presses the Escape key, but not have a dialog on
screen with a cancel button. Is there a way that I can check for Escape key
down without processing all the other messages in the queue? Or some other
solution to check for Escape Key down?