KeyDown event on Smartphones

Discussion in 'ASP .Net Mobile' started by Atul Thombre, Sep 11, 2008.

  1. Atul Thombre

    Atul Thombre Guest

    Hello,

    I have written an application for Windows Mobile 6.0 smartphones. The
    application is written in Microsoft CF 2.0 using C# language. I observed a
    weird behavior when I ran my application on different phones.

    The application ran properly on Motorola Q9h and on Samsung BlackJack 2.
    But, when I ran it on BlackJack 1, the troubles started. I have handled the
    KeyDown event on the form since I have some special handling for arrow keys.
    When I type any character, say 'm', the KeyDown event for the form gets a
    keycode == Keys.D9. Does anyone know why does the form gets Keys.D9 when a
    character 'm' is typed?

    In another experiment, I shifted the focus on a text box and let Text box
    handle the KeyDown event. I observed a different behavior. In this case, the
    form gets a KeyCode == 229 (VK_PROCESS) and when the event is captured by
    the text box, I get proper 'm' character. Can anyone explain?

    Thanks in advance.

    Atul.
    Atul Thombre, Sep 11, 2008
    #1
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. mee-shell

    Keydown Event and Focus Problem

    mee-shell, Oct 23, 2004, in forum: Python
    Replies:
    0
    Views:
    560
    mee-shell
    Oct 23, 2004
  2. Claudia Fong

    keydown event

    Claudia Fong, Sep 17, 2007, in forum: ASP .Net
    Replies:
    5
    Views:
    1,944
    Claudia Fong
    Sep 18, 2007
  3. Replies:
    1
    Views:
    653
    cfps.Christian
    May 23, 2008
  4. jaspal singh

    trap keypress and keydown event in asp.net mobile form

    jaspal singh, Nov 24, 2006, in forum: ASP .Net Mobile
    Replies:
    1
    Views:
    1,411
  5. runner7

    programmatic firing of keydown event

    runner7, Sep 8, 2006, in forum: Javascript
    Replies:
    9
    Views:
    301
    runner7
    Sep 11, 2006
Loading...

Share This Page