get Key Events

  • Thread starter Thread starter Sarraipa
  • Start date Start date
S

Sarraipa

Hi!

I want to get key events but not from an Object like
System.Windows.Forms I want to get it directly from the
keyboard independently of the Windows application that
would be active at the moment.

Which class I need to use in order to use the correct
handler to the keyboard events. Or what I have to do?

Thanks in advanced!

Sarraipa.
 
Hi Sarraipa.

Getting global access to the keyboard is easy when you follow the
footsteps of a Master.

The Master in question is Paul Kimmel, author of Visual Basic .NET
Unleashed, and he has written a three-part article explaining the whats and
hows of trapping the keyboard using SetWindowsHookEx:

http://www.developer.com/net/net/article.php/11087_2193301_1

Have fun. :-)

Regards,
Fergus
 
Just for Fergus,

Hi Fergus,
I dropped last night (later than at you of course) as we did talk about
yesterday.
(the picture sollution with SQL server)
Cor

Did you see what quiet it was today, all newsgroups from microsoft have a
message with a *.scr link in it.

Some with David Beckham others with Asian teens Tortured

The one who send it does not know the newsgroups I think otherwise we would
have David Beckham of course with so many Brittains.


Cor
 
Back
Top