PPC w/ phone kbd: state of ALPHA and FUNC?

B

Benjamin Lukner

Hi!

I was asked to implement an icon into my software that displays the
state of the alpha and func(tion) keys of an Pocket PC with phone
keyboard. It has the numbers 1 to 0 (0 to 9). Pressing alpha once
switches to lower case letters, pressing twice to uppercase and pressing
three times back to numbers. Pressing func switches to F-Keys.

I only found GetKeyState() and GetAsyncKeyState(), but I didn't find out
how to use them and if they are the right functions for me...

Does anyone know how to do it?

Kind regards,

Benjamin Lukner
 
A

Alex Feinman [MVP]

Could you elaborate, which keyboard are you talking about? On my MDA I there
is no alpha, nor function key. Do you mean soft keyboard or a real one? Any
device in particular?
 
B

Benjamin Lukner

Alex said:
Could you elaborate, which keyboard are you talking about? On my MDA I there
is no alpha, nor function key. Do you mean soft keyboard or a real one? Any
device in particular?

I had a closer look at the keyboard and think it's a speciality of the
Symbol PDT 8800 that cannot be accessed via Windows API.
It has number keys. The alpha key switches between the numbers, lower
case letters und upper case letters. The func key switches to Fx keys.
When I want to enter a "c" I have to press <alpha> <2> <2> <2> and get
KeyPress events <a> <bs> <b> <bs> <c>.
I now found a patch for the device that allows the symbol.net dlls to
access the keyboard, so I will use those instead of Windows API.

Sorry for any inconvenience...

Kind regards,

Benjamin Lukner
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top