J
Jacek Jurkowski
Read a key from the keyboard?
While(true)
{
if(SomeReadKeyMethod() == Keys.Esc)
{
someThrow.Abort();
}
}
While(true)
{
if(SomeReadKeyMethod() == Keys.Esc)
{
someThrow.Abort();
}
}
It's a win forms application and Yes, i do have a invisible
main form but i want to have a global hook independent
to the main form.
From the main application i start a new thread with some loop
inside without any form displayed. I want to break that loop
when user presses ESC button...