Advertisement

06.26.2008 at 02:32AM PDT, ID: 23517460
[x]
Attachment Details

Change hardware keyboard layout from CF.net

Asked by tarasbredel in Windows MobileProgramming, Microsoft Visual C#.Net, Windows Mobile (Pocket PC / Win CE) Operating Systems

Tags: Microsoft, Windows Mobile, 6, Hp iPaq

Hi

I'm developing a CF.Net application.
In it I have several textboxes for numeric input only.

The problem is that when ever the user uses the hardware keyboard (which has a 10 digit numeric layout), it always inserts text into the textbox...
Eg. typing 3 inserts a 'd'

I have tried....
InputModeEditor.SetInputMode(this.txtSomeNumber, InputMode.Numeric);
... It does not work.

Though, if the users holds down the * a small list appears, where the users can choose between T9, ABC or 123 (Numeric)
If the user chooses 123, then the hardware keyboard inputs numeric values.

I want to be able to programmatically set the hardware keyboard to 123 or ABC
There has to be some p/invoke or likewise that can do this.... but how?

Details...
Device: HP iPaq 614c
OS: Windows Mobile 6 Professional
Runtime: Compact Framework 2.0

Thank you!Start Free Trial
[+][-]06.27.2008 at 05:10AM PDT, ID: 21882772

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.27.2008 at 05:28AM PDT, ID: 21882886

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.03.2008 at 04:01AM PDT, ID: 21924170

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Windows MobileProgramming, Microsoft Visual C#.Net, Windows Mobile (Pocket PC / Win CE) Operating Systems
Tags: Microsoft, Windows Mobile, 6, Hp iPaq
Sign Up Now!
Solution Provided By: tarasbredel
Participating Experts: 2
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628