keypress for non printing keys

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do i use cursor keys or other non printing keys like alt and shift to
raise an event. If it's possible, how do i use the keypress event to do it
 
How do i use cursor keys or other non printing keys like alt and shift to
raise an event. If it's possible, how do i use the keypress event to do it

For these keys you need to use KeyDown and KeyUp events.

In these events you get a KeyEventArgs parameter various properties to
check which keys where pressed.

Claudio Grazioli
www.grazioli.ch
 

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