turning off hardkey interception

Discussion in 'Questions (Windows Mobile)' started by hlo, Jul 4, 2009.

  1. hlo

    hlo Member Licensed User

    I have a program for the smartphone that uses the hardkey routines to intercept the d-pad in a form. by pushing the left and right it scans thru a database. when the file is found a menu button is pressed and that file is editable. only problem is the up and down on the d-pad does not work so i cant move between fields.
    is there a way to disable the interception of the d-pad keys and let it go back to the normal way.
    thanks, HLO
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    You can catch the left and right keys with Form_KeyPress event. Use the Door library to set the form's KeyPreview property to true (it is the first example here: Door)
     
  3. hlo

    hlo Member Licensed User

    Ah, so the door essentially (among a lot other things) turns events on or off. Good to know.
    I guess this is where I need to dig a little deeper into .net
    thx, hlo
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice