Information générale
Titre:
Got an nKeyCode=41025, nShiftAltCtrl=8!
Versions des environnements
Network:
Windows 2003 Server
Hi Experts,
I have my test machine's Regional Settings set to Chinese (Taiwan) in the Advanced tab, reason being I am doing an app that will accept, store and display Chinese characters.
All works well, except my combobox finder class. Its normal behavior traps keys typed in it via the Keypress event, then builds up a filtered SQL query based on whatever the current DisplayValue is.
Now, when set to Chinese, if I type say "ABC", it shows as "A B C" - note the tab like spacing in between characters.
So, I decided to check out what values are being trapped. It always shows INKEY value of the actual letter typed, plus an additional nKeyCode=41025, nShiftAltCtrl=8!!! So, typing in an A, will yield a nKeyCode=65, nShiftAltCtrl=0, then nKeyCode=41025, nShiftAltCtrl=8!
I lookeup the INKEY() values, no such animal with 41025 and 8.
How do I go about going around this problem? Help!
My combo finder does not search against Chinese character fields, only the English character fields.
Thanks for any insights, tips or help on this matter.
Dennis
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement