Re: How to identify key pressed by user when he uses french keyboard set
- From: "Paul G. Tobey [eMVP]" <p space tobey no spam AT no instrument no spam DOT com>
- Date: Mon, 13 Aug 2007 09:21:20 -0700
You're writing what, an application? If so, catching WM_CHAR should give
you the translated character that the user meant to type, regardless of how
he got it. It's up to the keyboard driver and/or the keyboard layout to do
the mapping from whatever key was pressed to the right character.
Paul T.
<controllingae@xxxxxxxxx> wrote in message
news:1186955395.152548.180100@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
I'm dealing with convering unambiguously characters entered on french
keyboard to ASCII format or indentifying exact key that user pressed.
The result of the user's output is text file, but many characters
entered by the user might be interpeted ambiguously, for example:
character "Ö" once stands for "a" other time it stands for k... It's
strange, however my question is how to identify the key pressed when
the output from the keyboard is "½" for example, I didn't find such a
character on the keyboard map! What is wrong? Why the output produced
form keyboard (and gathered by API GetKeyState) contains such a
characters when user sees only ASCII otput when typing... I didn't
find anything on the Internet about this matter. Does any of you
bright people have any slight idea how to overcome this problem?
Thanks.
M.
.
- References:
- How to identify key pressed by user when he uses french keyboard set
- From: controllingae@xxxxxxxxx
- How to identify key pressed by user when he uses french keyboard set
- Prev by Date: Re: User authentication as in ftp server
- Next by Date: Re: User authentication as in ftp server
- Previous by thread: How to identify key pressed by user when he uses french keyboard set
- Next by thread: Problem building debug version of a driver (LNK4204)
- Index(es):
Relevant Pages
|
Loading