Read-only archive of the All About Symbian forum (2001–2013) · About this archive

a-z, [0-9] Keycodes?

1 replies · 1,422 views · Started 21 October 2003

hi!!!

how can i test for the keycodes of the alphabet [a-z] and numbers [0-9]...

i need to test against these keys for OfferkeyeventL() function....

i.e. TKeyEvent.iCode...

tnx...

i got it olredi...

for anyone who needs this:

there is a declaration of the range of keycodes that are not character keys defined in e32keys.h

#define ENonCharacterKeyBase ????????
#define ENonCharacterKeyCount ???????

so to test if the key pressed is a character, test if the keycode is NOT in the rancge of NON CHARACTER keys...