Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Windows Mobile - KeyDown events for d-pad

Status
Not open for further replies.

BobTheMad

Programmer
Jun 11, 1999
81
US
I am writing an app for Windows Mobild phones using the .NET compact framework, however I am running into a problem.

I am having to build in some logic to vertically scroll the screen to display information. Most of my users do not have touch-screen devices, so I want to use the d-pad to give them this ability.

The problem I am running into is that we have several different phone models being used, and the keydown event for each of the devices seems to show different values between models. To further complicate things, whether the user presses 'up' or 'down', the e.KeyCode value remains the same.

So, is there a generic event I can key off of to determine when a user presses up or down on the d-pad?

Thanks in advance!

Thought for the day: Beware of Gods who cannot laugh...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top