Global KeyPress event hookup?

  • Thread starter Thread starter Smoke
  • Start date Start date
S

Smoke

How i can globally trap a keypress event? what i mean is, like, trap the CTRL+ATL+V keypress event no matter if my program is the
active or not.
Not sure how to do that, but i guess that i have to do a API hookup or something?

Thanks for the help.
 
Hi,
You would have to use the SetWindowsHookEx API and use the WH_Keyboard as
a parameter.
Thanks
Anand



Anand Balasubramanian
Microsoft, Visual Basic .NET

This posting is provided "AS IS" with no warranties, and confers no rights.
Please reply to newsgroups only. 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

Back
Top