By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,027 Members | 1,297 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,027 IT Pros & Developers. It's quick & easy.

question on keyboard event

P: n/a
hi ~
how to listen to keyboard event when the program is not in focus ?
i.e. invoking certain function when a specific key is pressed while the
program is not in focus
thx
Nov 20 '05 #1
Share this Question
Share on Google+
4 Replies


P: n/a
Hi 8th,

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/art...1087_2193301_1

Have fun. :-)

Regards,
Fergus

Nov 20 '05 #2

P: n/a
Fergus:

I just bought his VB.NET Power Coding and love it...Don't have Unleashed but
it sounds like I need to.

Cheers,

Bill
"Fergus Cooney" <fi******@tesco.net> wrote in message
news:OG**************@TK2MSFTNGP09.phx.gbl...
Hi 8th,

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/art...1087_2193301_1

Have fun. :-)

Regards,
Fergus

Nov 20 '05 #3

P: n/a
Hi Bill,

|| Power Coding .. love it *

Roll up those sleeves and stick your arms in up to the elbows !! :-D

Cheers,
Fergus

* excuse the slight misquoting ;-)
Nov 20 '05 #4

P: n/a
thanks very much ! :-)

"Fergus Cooney" <fi******@tesco.net> bl
news:OG**************@TK2MSFTNGP09.phx.gbl g...
Hi 8th,

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/art...1087_2193301_1

Have fun. :-)

Regards,
Fergus

Nov 20 '05 #5

This discussion thread is closed

Replies have been disabled for this discussion.