Detect a key is pressed on WinForm load?

G

Guest

Hi guys,

What I'm trying to achieve is to detect if a key is pressed when I load the
app. The idea is to be able to access to some debuging information if desired.

But I don't know where to start... I found information on
keypress/keydown/keyup, but always when a control has focus...

Thanks!
 

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

Top