hardware button

  • Thread starter Thread starter Peter
  • Start date Start date
P

Peter

What is the key identifier for the middle button of the
Pocket PC?I have searched through the registry but I found
only for the four buttons.Also, is there a way to catch
the KeyDown event in Contacs while my main form runs on
the background?

Note that my main form rises the Contacts.

Thanks
 
Hi, Peter,

What's the middle button? Is it the Up/Down/left/Right/Action pad? If so
the identifier will be Keys.Up, Keys.Down, Keys.Left, Keys.Right and
Keys.Enter respectively.

If it's one of the 4 application buttons, check out the following article:
http://www.opennetcf.org/Forums/topic.asp?TOPIC_ID=283

Once your form is running in the background, I don't know if you can catch
the KeyDown event in the contacts. I suggest you avoid such design because
even if you may get it work, it may not be as reliable as you want.

Hope this helps.

Xin
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top