Pythonwin 132: Letters with Umlaut cause problems
Wolfgang Strobl
Wolfgang.Strobl at gmd.de
Mon Jul 17 08:55:58 EDT 2000
"Neil Hodgson" <neilh at scintilla.org> wrote:
> if key == 220:
> return 1
> This avoids calling win32ui.TranslateVirtualKey for the "^" key.
This helps. Many thanks!
>More
>tests may be needed for other accent characters or other locales.
if key == 220 or key == 221:
return 1
is sufficient for the German keyboard locale IMHO, it disables the other
special key, on the other side of the keyboard, left to the backspace
key, too. That key is labeled "´" and "`" on the German keyboard.
--
o ( Wolfgang.Strobl at gmd.de (+49 2241) 14-2394
/\ * GMD Forschungszentrum Informationstechnik GmbH
_`\ `_<=== Schloss Birlinghoven, | #include
__(_)/_(_)___.-._ D-53754 Sankt Augustin, Germany | <std.disclaimer>
More information about the Python-list
mailing list