To find which key has been pressed in Pocket pc

I have a treeview which has some nodes and those nodes have child nodes. If a child node is selected(by tapping), it goes to the next form. But the trouble is when user uses up down keys(as in cell phones). Even then it goes to the next form. That time I want that those keys work only as up and down keys. Next form should come only if select has been pressed. Any way of checking that

Answer this question

To find which key has been pressed in Pocket pc

  • Drake1500

    You can hookup into the KeyDown event and set some flag that you can check in the node selected event.
  • To find which key has been pressed in Pocket pc