Smartphone Keypress events

G

Guest

I have a textbox on a smartphone. I want only numbers to be entered.
Pressing the keys on the smartphone does the standard bit of cycling through
the three letters before getting to the number on the fourth press. I have
tried to trap this in code by the frmMain_KeyPress/Down/Up events never fire.
I do have a menu on the form. I don't want to remove the menu because I
want to use the two soft keys with standard menu navigation.

I'm using VS2005. Is there a way to get the keypress events or a way to
force the keypad to only enter numbers?

Thanks
 
G

Guest

Daniel Moth said:
You are using VS2005 but are you using NETCF v1 or v2?

Hmmmm.... I would have preferred to use CF2, but when I went to make a new
SmartPhone project, I only had "Device Application (1.0)" available, so I
assume that I am using CF v1, and that CF v2 was not available. What would
I need to do to make v2 available?
 
D

Daniel Moth

CF v2 supports WM 5.0 Smartphone and not 2003. So you need to install the WM
5.0 SDK for Smartphone (assuming that your target devices will also be WM5).

Cheers
Daniel
 

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