At 07:01 PM 7/1/97 UT, Oliver Bruehl wrote:
i have a little problem with a keyboard. I am programming a CBT system. The
program works on a PC with an IBM-terminal keyboard with 122 keys, specially
24 function keys. Director does not give me the correct keycode for all
function keys. I suppose he has a problem with keycodes above 128. He allwas
returns a zero for all this keys.
Has someone an idea how i can solve this problem. Is there any trick to get
the keycodes? Has someone a special xtra or something else?
It's not so much that it has a problem with those keys, but the keys over 128 are
handled differently by the operating system. For the extended function keys, they are
represented by a "0" meaning extended, and the next byte then has the extended
function number.
That doesn't help you, since you can't get at the next byte.
Are you using "the key" or "the keycode"?
If you're using Win16 or Win95 you can probably use our GetUInfo .DLL Xobject
which is up at the Macromedia site and returns current keypress information,
though I suspect someone has an Xtra out by now though.
- Tab
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email
[email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for
learning and helping with programming Lingo. Thanks!]