Input Food Chain
30-Oct-89 19:02:03
Sb: #71404-Input Food Chain
Fm: Chip Orange 71450,1162
To: Black Belt Systems 76004,1771
I like Khalid's idea, it's a good one, but here's a slight
modification to it which may end up being easier. Suppose your input
handler only looks for a single specific event which is normally not used
(such as maybe a double click of the right button?), and when it occurs,
removes it and signals another task. The second task saves the pointer of
the currently active window, and then brings up a window full of your
letter selection gadgets. Your user selects what he wishes, and every time
he does, you re-activate the original window and introduce the character
into the input stream. Your user continues in this fashion until he no
longer wishes to see the letter-selection window, and perhaps clicks a
"resume" gadget on it, and you return him to his original window. I
uploaded some generic stuff about input handlers a while back, and for some
reason it got stuck in the Modula DL, but you may find it useful.