Skip to content
Tcl Source Code View Ticket
Login

View Ticket

Windows: No Distinction Return and KP_Enter

Closed / Duplicate774616ffffffffffffffffffffffffffffffffffCreated 23 years agoUpdated 23 years ago
Descriptionplain2003-07-20 16:50:44
Different to Unix/Linux, there is no distinction for
the keys Return and KP_Enter on Windows.
Furthermore, there is no distinction between the
alpha-keyfield upper-row numbers and the
numeric-keyfield numbers. 
This breaks the portabilitiy of applications.
The winAPI provides LPARAM for detecting the difference
between KP_Enter and Return.
The questionable modules could be tkWinX.c and tkWinKey.c
hobbsplain2003-07-21 00:17:41
Logged In: YES 
user_id=72656

To be clear, the MSUE reference specifically states that this 
is the way the keypad should be treated.  We can optionally 
separate these by adapting Mod4 as a special specifier, but 
the default needs to remain as it is.

This is a dup of Tk bug (now rfe) 749463.
magroplain2003-07-21 00:52:43
Logged In: YES 
user_id=83653

adapting Mod4 as a special specifier would solve the problem.
magroplain2003-07-22 01:36:52
Logged In: YES 
user_id=83653

Does your suggesition imply that "mod4 as a special specifier" 
will be inplemented in the next release?
If yes, any comments on when this will be?

Thanky you
hobbsplain2003-07-22 02:25:44
Logged In: YES 
user_id=72656

this could be done for 8.5 (needs an implementation).
magroplain2003-07-23 16:50:43
Logged In: YES 
user_id=83653

Can I do anything to help implementing this feature?
I'm familiar with C(++) but not (yet) with the Windows API.
hobbsplain2003-07-24 03:20:19
Logged In: YES 
user_id=72656

Please refer to Tk RFE 749463 since this is closed as a dup of 
that.  Someone proposed somewhere the right direction for a 
fix, but I've lost the ref now.  Kevin Kenny might still have it, 
but it basically means assigning Mod4 the meaning of KP_ for 
differentiation.
Log in (anonymous is fine) to add a comment.