Original complaint on comp.lang.tcl:
From: Wolf Grossi (Go2DevNull@magro-soft.com)
Subject: KP_Enter on win98se
Newsgroups: comp.lang.tcl
Date: 2003-07-03 12:12:46 PST
Hi all :-)
can it be true that windoze does not distinguish between
<Return> and <KP_Enter> ?
Doing a bind . <Key> {puts %K}
I get
KP_Enter for enter and
Return for return
on Linux.
On win98se, the return key and the enter key both give
<Return> as result.
I browsed wiki but could not find anything related.
Any way to solve the puzzle?
Thanks 4 reading
Wolf
Logged In: YES
user_id=143885
My own response at the time:
[...] it seem that this a generic Windows feature.
There is only one code VK_RETURN which is the keycode
reported by Tk.
MSDN says that WM_KEYDOWN sends an "extended key"
flag in its LPARAM (bit 24) that signifies keypad keys for the
usual keyboards. This could probably be used to construct
alternate keycodes and keysyms. [...]