How to set the Windows Mobile 6 IME mode (to numbers only)

Posted by Daniel Crenna on Stack Overflow See other posts from Stack Overflow or by Daniel Crenna
Published on 2010-04-15T17:23:20Z Indexed on 2010/05/12 15:24 UTC
Read the original article Hit count: 309

Filed under:
|
|
|

In Windows Mobile 5 one of the following methods works to set an input to numbers only:

// Managed InputModeEditor.SetInputMode(textBox, InputMode.Numeric);

// Native Wrapper InputModeSupport.SHSetImeMode(textBox.Handle, InputModeSupport.SHIME_MODE.SHIME_MODE_NUMBERS);

In Windows Mobile 6, neither works.

How do you set the IME to "Numbers Only" in WM 6.0 / .NET CF 3.5?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about mobile