On Jan 31, 2007, at 6:21 AM, Antonella Russo wrote:
Hi,
I'd need to know which key was pressed together with the alt
modifier when a keyboard event arrives also from different keyboard
layout (for example in the Italian keyboard the Z is found in the
place of the W and viceversa). I need just the original key pressed
and not the character already modified by the alt (which for alt W
is an uppercase sigma but I just need to know that the W has been
pressed with the alt key).
You need to use the KeyTranslate or UCKeyTranslate functions to run
the raw keycode through keyboard translation a second time, without
the option key modifier pressed, and see what character code is
generated.
-eric
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Carbon-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/carbon-dev/email@hidden