Hardkey Issue when device wakes up?

Discussion in 'Questions (Windows Mobile)' started by mikewhite, Dec 30, 2008.

  1. mikewhite

    mikewhite Member Licensed User

    Hi all,

    a user of an app I have written reports:

    If the device is left to "go to sleep" with the app running, when he presses a key to "wake it up", it comes back on with the today screen showing, but the hard keys do not work as he expects (I suspect my app is still trapping them).

    How should I handle this?


    Mike White
  2. Erel

    Erel Administrator Staff Member Licensed User

    Did you set the second argument in HardKey.New1 to true?
  3. mikewhite

    mikewhite Member Licensed User

    Thanks Erel,

    I had that argument set to false as I was trying to use one object to cover several forms. I hadn't realised that doing that would trap keys elsewhere.
    I've now got seperate Hardkey objects for each form, with the argument set to true for each one's new1 call so I am hoping all will now be well.

    Happy New Year

    Mike White
  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