"Lasse Reichstein Nielsen" <lr*@hotpop.com> wrote in message
news:br**********@hotpop.com...
<snip>
I didnt mean the books lacks info on interfering with user`s
shortcuts, I meant I couldnt find the keycodes themselves.
Bad books, then :)
I am not so sure. Are keycodes universal or might they be expected to
vary with OS, keyboard layout, local language, etc? Mozilla key events
have a battery of numeric properties such as:-
DOM_VK_CANCEL == 3
DOM_VK_CAPS_LOCK == 20
DOM_VK_CLEAR == 12
DOM_VK_CLOSE_BRACKET == 221
DOM_VK_COMMA == 188
DOM_VK_CONTROL == 17
DOM_VK_D == 68
DOM_VK_DECIMAL == 110
DOM_VK_DELETE == 46
DOM_VK_DIVIDE == 111
DOM_VK_DOWN == 40
- that look like constants (all uppercase, underline separated
identifiers (example values from Window OS/UK English keyboard)) mapping
keys to codes. I imagine that Mozilla would refer to the named property
when making decisions about keyboard input, allowing the number assigned
to vary with the OS (and/or whatever else was relevant).
Richard.