Macintosh QuickBASIC ToolBox Call to Trap Any Key Press (57441)
This article was previously published under Q57441
SUMMARY
The following program shows how key presses can be trapped by polling
values returned from a ToolBox call in a loop. This technique can be
used to check if any key on the keyboard is currently being pressed,
such as the function keys on the extended keyboard and the TAB key.
You can also check if the COMMAND key, OPTION key, or a SHIFT key is
currently down.
This information applies to Microsoft QuickBASIC Version 1.00 for
the Apple Macintosh.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB57441 |
|