W
Wal
I have written a program which lists all possible English words from a
set of letters. Trouble is if you enter something over 8 letters long
the [swap letters around then verify word] function can go on for
several minutes.
I've put in a progress bar and word counter to show the program is busy
working in the background but they may still want to exit early (without
using Windows End Task).
I can't figure out how to interrupt it because all resources are busy so
clicking a Cancel button wont get any attention until the process ends.
Perhaps if the process can check for user input at regular intervals eg.
the Esc key has been pressed?
set of letters. Trouble is if you enter something over 8 letters long
the [swap letters around then verify word] function can go on for
several minutes.
I've put in a progress bar and word counter to show the program is busy
working in the background but they may still want to exit early (without
using Windows End Task).
I can't figure out how to interrupt it because all resources are busy so
clicking a Cancel button wont get any attention until the process ends.
Perhaps if the process can check for user input at regular intervals eg.
the Esc key has been pressed?